protected function registerGuest()
    {
        $this->app->bind('guest.roles', function ($app) {
            return ['guest'];
        });

        $this->app->bind('guest.abilities', function ($app) {
            return ['*.show'];
        });

        $this->app->bind('guest', function ($app) {
            return new Guest($app['guest.roles'], $app['guest.abilities']);
        });
    }
protected function registerGuest()
    {
        $this->app->bind('guest.roles', function ($app) {
            return ['guest'];
        });

        $this->app->bind('guest.abilities', function ($app) {
            return ['*.show'];
        });

        $this->app->bind('guest', function ($app) {
            return new Guest($app['guest.roles'], $app['guest.abilities']);
        });
    }
protected function registerGuest ( ) { $ this -> app -> bind ( 'guest.roles' , function ( $ app ) { return [ 'guest' ] ; } ) ; $ this -> app -> bind ( 'guest.abilities' , function ( $ app ) { return [ '*.show' ] ; } ) ; $ this -> app -> bind ( 'guest' , function ( $ app ) { return new Guest ( $ app [ 'guest.roles' ] , $ app [ 'guest.abilities' ] ) ; } ) ; }
Register a guest representing user entity
which is not persistable.
Register a guest representing user entity which is not persistable .