protected function getSubject() { $subject = $this->container->make('Illuminate\\Contracts\\Auth\\Guard')->user(); return $subject ?: new Guest(); }