示例#1
0
 /**
  * FileReader constructor.
  *
  * @param null         $file
  * @param Crontab|null $crontab
  * @param null         $machine
  */
 public function __construct($file = null, Crontab $crontab = null, $machine = null)
 {
     parent::__construct($crontab, $machine);
     $this->file = $file;
 }
示例#2
0
 /**
  * UnixReader constructor.
  *
  * @param Crontab|null $crontab
  */
 public function __construct(Crontab $crontab = null)
 {
     parent::__construct($crontab, null);
     $this->setNotManaged(true);
 }