See More

input = $input; $this->output = $output; } abstract public function run($arg = ''); protected function beforeRun($action) { } protected function afterRun($action) { } /** * handle action/command runtime exception * * @param \Exception $e * @throws \Exception */ protected function handleRuntimeException(\Exception $e) { throw $e; } /** * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @return array */ public static function getAllowTags() { return self::$allowTags; } /** * @param array $allowTags */ public static function setAllowTags(array $allowTags) { self::$allowTags = $allowTags; } }