__construct() public method

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