original_string: protected function registerFractal()
      {
          $this->app->bind(SerializerAbstract::class, function ($app) {
              $serializer = $app->config->get('responder.serializer');
  
              return new $serializer;
          });
  
          $this->app->bind(Manager::class, function ($app) {
              return (new Manager())->setSerializer($app[SerializerAbstract::class]);
          });
  
          $this->app->bind(ResourceFactory::class, function () {
              return new ResourceFactory();
          });
      }
code: protected function registerFractal()
      {
          $this->app->bind(SerializerAbstract::class, function ($app) {
              $serializer = $app->config->get('responder.serializer');
  
              return new $serializer;
          });
  
          $this->app->bind(Manager::class, function ($app) {
              return (new Manager())->setSerializer($app[SerializerAbstract::class]);
          });
  
          $this->app->bind(ResourceFactory::class, function () {
              return new ResourceFactory();
          });
      }
code_tokens: protected function registerFractal ( ) { $ this -> app -> bind ( SerializerAbstract :: class , function ( $ app ) { $ serializer = $ app -> config -> get ( 'responder.serializer' ) ; return new $ serializer ; } ) ; $ this -> app -> bind ( Manager :: class , function ( $ app ) { return ( new Manager ( ) ) -> setSerializer ( $ app [ SerializerAbstract :: class ] ) ; } ) ; $ this -> app -> bind ( ResourceFactory :: class , function ( ) { return new ResourceFactory ( ) ; } ) ; }
docstring: Register Fractal serializer, manager and a factory to generate Fractal
  resource instances.
  
  @return void
docstring_tokens: Register Fractal serializer manager and a factory to generate Fractal resource instances .