user()->can('send-command', $this->getModel(Server::class)); } /** * Rules to validate this request aganist. * * @return array */ public function rules(): array { return [ 'command' => 'string|min:1', ]; } }