original_string: public function register(Application $app)
      {
          $app['parser.example.finder'] = new Example\Finder();
  
          $this->addCache($app);
          $this->addAssemblers($app);
          $this->addFilters($app);
          $this->addValidators($app);
          $this->addBuilder($app);
  
          // I would prefer to extend it but due to a circular reference will pimple fatal
          $this->attachFiltersToManager($app['descriptor.filter'], $app);
  
          $app['descriptor.analyzer'] = function () {
              return new ProjectAnalyzer();
          };
      }
code: public function register(Application $app)
      {
          $app['parser.example.finder'] = new Example\Finder();
  
          $this->addCache($app);
          $this->addAssemblers($app);
          $this->addFilters($app);
          $this->addValidators($app);
          $this->addBuilder($app);
  
          // I would prefer to extend it but due to a circular reference will pimple fatal
          $this->attachFiltersToManager($app['descriptor.filter'], $app);
  
          $app['descriptor.analyzer'] = function () {
              return new ProjectAnalyzer();
          };
      }
code_tokens: public function register ( Application $ app ) { $ app [ 'parser.example.finder' ] = new Example \ Finder ( ) ; $ this -> addCache ( $ app ) ; $ this -> addAssemblers ( $ app ) ; $ this -> addFilters ( $ app ) ; $ this -> addValidators ( $ app ) ; $ this -> addBuilder ( $ app ) ; // I would prefer to extend it but due to a circular reference will pimple fatal $ this -> attachFiltersToManager ( $ app [ 'descriptor.filter' ] , $ app ) ; $ app [ 'descriptor.analyzer' ] = function ( ) { return new ProjectAnalyzer ( ) ; } ; }
docstring: Adds the services needed to build the descriptors.
  
  @param Application $app An Application instance
  
  @return void
docstring_tokens: Adds the services needed to build the descriptors .