Beispiel #1
0
 /**
  * @param string $dir
  */
 public function __construct($dir = '')
 {
     parent::__construct();
     if ($dir) {
         $this->arguments[0] = $dir;
     }
 }
Beispiel #2
0
 /**
  * @param string $url
  */
 public function __construct($url = '', $path = '')
 {
     parent::__construct($path);
     if ($url) {
         $this->setUrl($url);
     }
 }
Beispiel #3
0
 /**
  * @param string $command
  */
 public function __construct($command)
 {
     parent::__construct();
     $this->arguments[0] = $command;
 }
Beispiel #4
0
 /**
  * @param string $task
  * @param string $path
  */
 public function __construct($task, $path = '')
 {
     parent::__construct($path);
     $this->arguments[0] = $task;
 }