/** * 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; }
/** * 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; }