/** * 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); }
/** * Initialize configuration * * @return void */ protected function initializeConfiguration() { $configuration = new \Aijko\Typo3Helper\Configuration\Configuration(); \Aijko\Typo3Helper\Service\RegistryService::set('configuration', $configuration->initialize()->getConfiguration()); }