protected function registerPayloadFactory()
    {
        $this->app->singleton('lia.jwt.payload.factory', function ($app) {
            $factory = new PayloadFactory($app['lia.jwt.claim.factory'], $app['request'], $app['lia.jwt.validators.payload']);

            return $factory->setTTL($this->config('ttl'));
        });
    }
protected function registerPayloadFactory()
    {
        $this->app->singleton('lia.jwt.payload.factory', function ($app) {
            $factory = new PayloadFactory($app['lia.jwt.claim.factory'], $app['request'], $app['lia.jwt.validators.payload']);

            return $factory->setTTL($this->config('ttl'));
        });
    }
protected function registerPayloadFactory ( ) { $ this -> app -> singleton ( 'lia.jwt.payload.factory' , function ( $ app ) { $ factory = new PayloadFactory ( $ app [ 'lia.jwt.claim.factory' ] , $ app [ 'request' ] , $ app [ 'lia.jwt.validators.payload' ] ) ; return $ factory -> setTTL ( $ this -> config ( 'ttl' ) ) ; } ) ; }
Register the bindings for the Payload Factory.
Register the bindings for the Payload Factory .