Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 public function init(\Cti\Core\Module\Cache $cache)
 {
     parent::init($cache);
     $this->path = dirname(dirname(__DIR__));
 }