예제 #1
0
파일: Param.php 프로젝트: robertbasic/usher
 /**
  * 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);
 }
예제 #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');
 }