Exemplo n.º 1
0
 /**
  * @param XEcon $main
  * @param string $tarAccName
  * @param string $accGenName
  * @param $cmdName
  */
 public function __construct(XEcon $main, $tarAccName, $accGenName, $cmdName)
 {
     $this->tarAccName = $tarAccName;
     $this->accGenName = $accGenName;
     $this->cmdName = $cmdName;
     parent::__construct($main);
 }
 public function __construct(XEcon $main, $name, $add, $actionStr, $accName, $accHumanName, array $aliases = [])
 {
     $this->cmdName = $name;
     $this->add = $add;
     $this->actionStr = $actionStr;
     $this->accName = $accName;
     $this->accHumanName = $accHumanName;
     $this->aliases_ = $aliases;
     parent::__construct($main);
 }
 public function __construct(XEcon $main, $add)
 {
     $this->add = $add;
     parent::__construct($main);
 }