PHP Class ParaTest\Parser\Parser

Mostra file Open project: brianium/paratest Class Usage Examples

Public Methods

Method Description
__construct ( $srcPath )
getClass ( ) : null | ParaTest\Parser\ParsedClass Returns the fully constructed class with methods or null if the class is abstract

Private Methods

Method Description
classNameMatchesFileName ( $filename, $className ) : boolean
getClassName ( $filename, $previousDeclaredClasses ) : string Return the class name of the class contained in the file
getCleanReflectionName ( ) : string Return reflection name with null bytes stripped
getMethods ( ) : array Return all test methods present in the file
invertSlashes ( $className )

Method Details

__construct() public method

public __construct ( $srcPath )

getClass() public method

Returns the fully constructed class with methods or null if the class is abstract
public getClass ( ) : null | ParaTest\Parser\ParsedClass
return null | ParaTest\Parser\ParsedClass