__construct() 공개 메소드

{@inheritDoc}
public __construct ( $locator, $fileExtension = self::DEFAULT_FILE_EXTENSION )
예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function __construct($prefixes, $fileExtension = self::DEFAULT_FILE_EXTENSION)
 {
     $locator = new SymfonyFileLocator((array) $prefixes, $fileExtension);
     parent::__construct($locator, $fileExtension);
 }
예제 #2
0
 public function __construct($prefixesByPath = array())
 {
     parent::__construct(array_keys($prefixesByPath));
     $this->setNamespacePrefixes($prefixesByPath);
 }