Exemplo n.º 1
0
 /**
  * Collect all necessary informations
  *
  * @throws \Exception
  * @return void
  */
 public function action()
 {
     if (!$this->getopt->target_path) {
         throw new \Exception('You must enter a target path (absolute)');
     }
     Registry::set('targetPath', $this->getopt->target_path);
 }
Exemplo n.º 2
0
 /**
  * Initialize configuration
  *
  * @return void
  */
 protected function initializeConfiguration()
 {
     $configuration = new \Aijko\Typo3Helper\Configuration\Configuration();
     \Aijko\Typo3Helper\Service\RegistryService::set('configuration', $configuration->initialize()->getConfiguration());
 }