예제 #1
0
파일: Sencha.php 프로젝트: cti/sencha
 public function init(\Cti\Core\Module\Cache $cache)
 {
     parent::init($cache);
     $this->path = dirname(dirname(__DIR__));
     $source = $this->application->getManager()->get('Cti\\Sencha\\Coffee\\Source');
     $source->add($this->getPath('resources coffee'));
     $source->add($this->getPath('src coffee'));
     $source->add($this->project->getPath('src coffee'));
     $source->add($this->project->getPath('build coffee'));
     $source->add($this->project->getPath('resources coffee'));
     foreach ($this->getClasses('Direct') as $class) {
         $this->application->getManager()->getConfiguration()->push('Cti\\Direct\\Service', 'list', $class);
     }
 }
예제 #2
0
파일: Storage.php 프로젝트: cti/storage
 public function init(\Cti\Core\Module\Cache $cache)
 {
     parent::init($cache);
     $this->path = dirname(dirname(__DIR__));
 }