Пример #1
0
 public function __construct($name = null)
 {
     parent::__construct($name);
     $this->skConfig = [];
     $this->config = [];
     $this->routing = [];
     $this->skRouting = [];
 }
 protected function getSkeletonDirs(BundleInterface $bundle = null)
 {
     $skeletonDirs = array();
     $skeletonDirs[] = __DIR__ . '/../Resources/skeleton';
     $skeletonDirs[] = __DIR__ . '/../Resources';
     $skeletonDirs = array_merge($skeletonDirs, parent::getSkeletonDirs($bundle));
     return $skeletonDirs;
 }
 protected function getSkeletonDirs(BundleInterface $bundle = null)
 {
     $dirs = parent::getSkeletonDirs($bundle);
     $dirs[] = __DIR__ . '/../Resources/skeleton';
     return $dirs;
 }
 /**
  * @param BundleInterface $bundle
  * @return GeneratorInterface
  */
 protected function getGenerator(BundleInterface $bundle = null)
 {
     return parent::getGenerator($bundle);
 }