Doctrine DBAL and ORM integration for Patchwork
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
class
README
config.patchwork.php

README

Doctrine ORM integration in Patchwork Framework

'DSN' => array(
        'dbname'   => 'database',
        'user'     => 'user',
        'password' => 'password',
        'host'     => 'localhost',
        'driver'   => 'pdo_mysql'
    ),
    'doctrine.cache'       => '\Doctrine\Common\Cache\ArrayCache', // \Doctrine\Common\Cache\ApcCache
    'doctrine.mapping.dir' => 'data/mapping',
    'doctrine.proxy.dir'   => 'class/Proxies',
    'doctrine.proxy.generate' => true, // false to production env
    'doctrine.logger'      => ''