PHP Class PhpSpec\Locator\PrioritizedResourceManager

Inheritance: implements PhpSpec\Locator\ResourceManager
ファイルを表示 Open project: phpspec/phpspec

Public Methods

Method Description
createResource ( string $classname ) : PhpSpec\Locator\Resource
locateResources ( string $query ) : PhpSpec\Locator\Resource[]
registerLocator ( PhpSpec\Locator\ResourceLocator $locator )

Private Methods

Method Description
removeDuplicateResources ( array $resources ) : PhpSpec\Locator\Resource[]

Method Details

createResource() public method

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

locateResources() public method

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

registerLocator() public method

public registerLocator ( PhpSpec\Locator\ResourceLocator $locator )
$locator PhpSpec\Locator\ResourceLocator