<?phpnamespaceIlluminate\Auth;useException;classAuthenticationExceptionextendsException{/** * All of the guards that were checked. * * @var array */protected$guards;/** * Create a new authentication exception. * * @param string $message */publicfunction__construct($message='Unauthenticated.',array$guards=[]){parent::__construct($message);$this->guards=$guards;}/** * Get the guards that were checked. * * @return array */publicfunctionguards(){return$this->guards;}}