PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Util_Fileloader

Source Location: /PHPUnit2-3.0.0alpha11/Util/Fileloader.php

Class Overview




Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 65]


[ Top ]


Method Detail

checkAndLoad   [line 76]

void checkAndLoad( string $filename)

Checks if a PHP sourcefile is readable and contains no syntax errors.

If that is the case, the sourcefile is loaded through include_once().

  • Throws: RuntimeException
  • Access: public

Parameters:

string   $filename   — 

[ Top ]

getIncludePaths   [line 104]

Array getIncludePaths( )

  • Since: Method available since Release 3.0.0
  • Access: public

[ Top ]

load   [line 124]

void load( string $filename)

  • Since: Method available since Release 3.0.0
  • Access: protected

Parameters:

string   $filename   — 

[ Top ]

syntaxCheck   [line 152]

void syntaxCheck( string $filename)

  • Since: Method available since Release 3.0.0
  • Throws: RuntimeException
  • Access: protected

Parameters:

string   $filename   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.