oprokidnev/goalio-remember-me-doctrine-orm

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2014-07-28 09:20 UTC

This package is auto-updated.

Last update: 2024-03-22 01:08:57 UTC


README

Automatically detects doctrine orm or odm module in your application and registers appropriate storage for GoalioRememberMe module.

Usage

//application.config.php
return [
    'modules' => array(
        'GoalioRememberMe',
        'GoalioRememberMeDoctrineORM', //!insert module here
    ),
];

To use non-default doctrine object manager please point it in the application config.

//config/autoload/application.local.php
return [
    /**
     * Some other modules
     */
     
    'goaliorememberme_doctrine' => [
        'object_manager' => 'doctrine.entity_manager.orm_default',
                      // or 'doctrine.document_manager.odm_default',
    ],
];