Esempio n. 1
0
 /**
  * Run tasks
  *
  * @throw \Exception
  * @return void
  */
 public function runTasks()
 {
     try {
         $this->collectInformation();
         # Renamer
         (new \Aijko\Typo3Helper\Task\Renamer\Typo3\RenameContentTask())->execute(Registry::get('targetPath'));
         $this->cliStdio->outln('');
         $this->cliStdio->outln('Finish');
     } catch (\Exception $e) {
         $this->cliStdio->errln($e->getMessage());
     }
 }
Esempio n. 2
0
 /**
  * @param string $string
  */
 public function errln($string)
 {
     $this->stdio->errln("<<red>>{$string}<<reset>>");
 }