public function handle($permissions)
    {
        if ($this->auth->check()) {
            return $this->auth->user()->canAtLeast((array) $permissions);
        } else {
            $guest = Role::whereSlug('guest')->first();
            if ($guest) {
                return $guest->canAtLeast((array) $permissions);
            }
        }

        return false;
    }
public function handle($permissions)
    {
        if ($this->auth->check()) {
            return $this->auth->user()->canAtLeast((array) $permissions);
        } else {
            $guest = Role::whereSlug('guest')->first();
            if ($guest) {
                return $guest->canAtLeast((array) $permissions);
            }
        }

        return false;
    }
public function handle ( $ permissions ) { if ( $ this -> auth -> check ( ) ) { return $ this -> auth -> user ( ) -> canAtLeast ( ( array ) $ permissions ) ; } else { $ guest = Role :: whereSlug ( 'guest' ) -> first ( ) ; if ( $ guest ) { return $ guest -> canAtLeast ( ( array ) $ permissions ) ; } } return false ; }
Can at least blade directive compiler.

@param string|array $permissions
@return bool
@throws \Exception
@throws \Throwable
Can at least blade directive compiler .