Skip to content
Doctrine DBAL and ORM integration for Patchwork
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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'      => ''
Something went wrong with that request. Please try again.