Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 726 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 726 Bytes

GoalioRememberMeDoctrine module.

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',
    ],
];