Inheritance: implements PhpSpec\Locator\ResourceLocatorInterface
 public function __construct($srcNamespace = '', $specNamespacePrefix = 'spec', $srcPath = 'src', $specPath = '.', Filesystem $filesystem = null, $psr4Prefix = null, $extension = '.php')
 {
     parent::__construct($srcNamespace, $specNamespacePrefix, $srcPath, $specPath, $filesystem, $psr4Prefix);
     $this->extension = $extension;
 }
Exemple #2
0
 /**
  * @return string
  */
 public function getSpecClassname()
 {
     return $this->locator->getSpecNamespace() . implode('\\', $this->parts) . 'Spec';
 }
Exemple #3
0
 /**
  * @param string $query
  *
  * @return ResourceInterface[]
  */
 public function findResources($query)
 {
     return parent::getAllResources();
 }