Пример #1
0
 /**
  * register the command
  *
  * @param string $command
  * @return $this
  */
 public function setCommand($command)
 {
     parent::setCommand($command);
     return $this;
 }
Пример #2
0
 /**
  * register the command
  *
  * @param string $command
  * @param string $base
  * @return $this
  */
 public function setCommand($command, $base = null)
 {
     $base = $base === null ? BASE : $base;
     parent::setCommand($this->resolveBase($base) . 'anonym ' . $command);
     return $this;
 }