Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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');
 }