protected static function register(MappingDriverChain $driverChain, array $mappings)
    {
        $driverChain->addDriver(
            new FluentDriver($mappings),
            'Gedmo'
        );

        foreach (self::$extensions as $extension) {
            $extension::enable();
        }
    }
protected static function register(MappingDriverChain $driverChain, array $mappings)
    {
        $driverChain->addDriver(
            new FluentDriver($mappings),
            'Gedmo'
        );

        foreach (self::$extensions as $extension) {
            $extension::enable();
        }
    }
protected static function register ( MappingDriverChain $ driverChain , array $ mappings ) { $ driverChain -> addDriver ( new FluentDriver ( $ mappings ) , 'Gedmo' ) ; foreach ( self :: $ extensions as $ extension ) { $ extension :: enable ( ) ; } }
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
Register a new FluentDriver for the Gedmo namespace on the given chain . Adds all extensions as macros .