__construct() 공개 메소드

public __construct ( Filesystem $filesystem, string $srcNamespace = '', string $specNamespacePrefix = 'spec', string $srcPath = 'src', string $specPath = '.', string $psr4Prefix = null )
$filesystem PhpSpec\Util\Filesystem
$srcNamespace string
$specNamespacePrefix string
$srcPath string
$specPath string
$psr4Prefix string
 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;
 }
예제 #2
0
 /**
  * @param string $srcNamespace
  * @param string $specNamespacePrefix
  * @param string $srcPath
  * @param string $specPath
  * @param Filesystem $filesystem
  * @param string $psr4Prefix
  */
 public function __construct($name = '', $srcNamespace = '', $specNamespacePrefix = 'spec', $srcPath = 'src', $specPath = '.', Filesystem $filesystem = null, $psr4Prefix = null)
 {
     $this->suiteName = $name;
     parent::__construct($srcNamespace, $specNamespacePrefix, $srcPath, $specPath, $filesystem, $psr4Prefix);
 }