PHP Class PHPSpec2\Runner\Locator

Show file Open project: phpspec/phpspec2

Public Methods

Method Description
__construct ( PHPSpec2\Loader\LoaderInterface $loader )
getSpecifications ( $path )
getSpecificationsFromFile ( SplFileInfo $file, $line = null )

Method Details

__construct() public method

public __construct ( PHPSpec2\Loader\LoaderInterface $loader )
$loader PHPSpec2\Loader\LoaderInterface

getSpecifications() public method

public getSpecifications ( $path )

getSpecificationsFromFile() public method

public getSpecificationsFromFile ( SplFileInfo $file, $line = null )
$file SplFileInfo