Method | Description | |
---|---|---|
createResource ( string $classname ) : PhpSpec\Locator\Resource | ||
locateResources ( string $query ) : PhpSpec\Locator\Resource[] | ||
registerLocator ( PhpSpec\Locator\ResourceLocator $locator ) |
Method | Description | |
---|---|---|
removeDuplicateResources ( array $resources ) : PhpSpec\Locator\Resource[] |
public createResource ( string $classname ) : PhpSpec\Locator\Resource | ||
$classname | string | |
return | PhpSpec\Locator\Resource |
public locateResources ( string $query ) : PhpSpec\Locator\Resource[] | ||
$query | string | |
return | PhpSpec\Locator\Resource[] |
public registerLocator ( PhpSpec\Locator\ResourceLocator $locator ) | ||
$locator | PhpSpec\Locator\ResourceLocator |