Пример #1
0
 /**
  * Create a new command instance.
  *
  * @param        $certificate_id
  * @param string $action
  */
 public function __construct($certificate_id, $action = 'update')
 {
     parent::__construct();
     $this->certificate = app('Hyn\\Webserver\\Contracts\\SslRepositoryContract')->findById($certificate_id);
     $this->action = $action;
 }
Пример #2
0
 /**
  * Create a new command instance.
  *
  * @param int    $website_id
  * @param string $action
  */
 public function __construct($website_id, $action = 'update')
 {
     parent::__construct();
     $this->website = app('Hyn\\MultiTenant\\Contracts\\WebsiteRepositoryContract')->findById($website_id);
     $this->action = $action;
 }