module/Core/src/Grid/Core/Model/Settings/DefinitionServiceFactory.php
public function createService( ServiceLocatorInterface $serviceLocator )
    {
        // Configure the definitions
        $config     = $serviceLocator->get( 'Configuration' );
        $srvConfig  = isset( $config['modules']['Grid\Core']['settings'] )
                    ? (array) $config['modules']['Grid\Core']['settings']
                    : array();
        return new Definitions( $srvConfig );
    }
public function createService( ServiceLocatorInterface $serviceLocator )
    {
        // Configure the definitions
        $config     = $serviceLocator->get( 'Configuration' );
        $srvConfig  = isset( $config['modules']['Grid\Core']['settings'] )
                    ? (array) $config['modules']['Grid\Core']['settings']
                    : array();
        return new Definitions( $srvConfig );
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { // Configure the definitions $ config = $ serviceLocator -> get ( 'Configuration' ) ; $ srvConfig = isset ( $ config [ 'modules' ] [ 'Grid\Core' ] [ 'settings' ] ) ? ( array ) $ config [ 'modules' ] [ 'Grid\Core' ] [ 'settings' ] : array ( ) ; return new Definitions ( $ srvConfig ) ; }
Create the definitions-service

@param   \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator
@return  \Grid\Core\Model\Settings\Definitions
Create the definitions - service