PHP Interface PhpSpec\Locator\ResourceLocator

Exibir arquivo Open project: phpspec/phpspec Interface Usage Examples

Public Methods

Method Description
createResource ( string $classname ) : PhpSpec\Locator\Resource | null
findResources ( string $query ) : PhpSpec\Locator\Resource[]
getAllResources ( ) : PhpSpec\Locator\Resource[]
getPriority ( ) : integer
supportsClass ( string $classname ) : boolean
supportsQuery ( string $query ) : boolean

Method Details

createResource() public method

public createResource ( string $classname ) : PhpSpec\Locator\Resource | null
$classname string
return PhpSpec\Locator\Resource | null

findResources() public method

public findResources ( string $query ) : PhpSpec\Locator\Resource[]
$query string
return PhpSpec\Locator\Resource[]

getAllResources() public method

public getAllResources ( ) : PhpSpec\Locator\Resource[]
return PhpSpec\Locator\Resource[]

getPriority() public method

public getPriority ( ) : integer
return integer

supportsClass() public method

public supportsClass ( string $classname ) : boolean
$classname string
return boolean

supportsQuery() public method

public supportsQuery ( string $query ) : boolean
$query string
return boolean