src/Synapse/Db/DbServiceProvider.php
protected function registerMapperInitializer(Application $app)
    {
        $initializer = function ($mapper, $app) {
            $mapper->setSqlFactory(new SqlFactory);
        };

        $app->initializer('Synapse\Mapper\AbstractMapper', $initializer);
    }
protected function registerMapperInitializer(Application $app)
    {
        $initializer = function ($mapper, $app) {
            $mapper->setSqlFactory(new SqlFactory);
        };

        $app->initializer('Synapse\Mapper\AbstractMapper', $initializer);
    }
protected function registerMapperInitializer ( Application $ app ) { $ initializer = function ( $ mapper , $ app ) { $ mapper -> setSqlFactory ( new SqlFactory ) ; } ; $ app -> initializer ( 'Synapse\Mapper\AbstractMapper' , $ initializer ) ; }
Register an initializer that injects a SQL Factory into all AbstractMappers

@param  Application $app
Register an initializer that injects a SQL Factory into all AbstractMappers