original_string: protected static function register(MappingDriverChain $driverChain, array $mappings)
      {
          $driverChain->addDriver(
              new FluentDriver($mappings),
              'Gedmo'
          );
  
          foreach (self::$extensions as $extension) {
              $extension::enable();
          }
      }
code: protected static function register(MappingDriverChain $driverChain, array $mappings)
      {
          $driverChain->addDriver(
              new FluentDriver($mappings),
              'Gedmo'
          );
  
          foreach (self::$extensions as $extension) {
              $extension::enable();
          }
      }
code_tokens: protected static function register ( MappingDriverChain $ driverChain , array $ mappings ) { $ driverChain -> addDriver ( new FluentDriver ( $ mappings ) , 'Gedmo' ) ; foreach ( self :: $ extensions as $ extension ) { $ extension :: enable ( ) ; } }
docstring: Register a new FluentDriver for the Gedmo namespace on the given chain.
  Adds all extensions as macros.
  
  @param MappingDriverChain $driverChain
  @param string[]           $mappings
  
  @return void
docstring_tokens: Register a new FluentDriver for the Gedmo namespace on the given chain . Adds all extensions as macros .