/** * Execute the task * * @return void */ public function execute() { //set up a valirable internal to the scope of the execution $value = $this->getOption('value'); $name = $this->getOption('name'); \Usher\Lib\Utility\SessionManage::set($name, $value); }
/** * Get the console option from the session * * @param string $optionName Name of the option to get * * @return mixed Option value */ public function getOption($optionName) { return \Usher\Lib\Utility\SessionManage::get($optionName, 'console'); }