Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return array (
- 'instance' => array (
- 'alias' => array(
- 'EntityManager' => 'Doctrine\ORM\EntityManager',
- 'DoctrineQueryCache' => 'Doctrine\Common\Cache\ArrayCache',
- 'DoctrineMetadataCache' => 'Doctrine\Common\Cache\ArrayCache',
- ),
- 'Doctrine\Common\Cache\CacheProvider' => array(
- 'parameters' => array(
- 'namespace' => APPLICATION_PATH_MD5,
- ),
- ),
- 'Doctrine\DBAL\Event\Listeners\OracleSessionInit' => array(
- 'parameters' => array(
- 'oraclesessioninit' => array(
- 'NLS_TIME_FORMAT' => 'HH24:MI:SS',
- ),
- ),
- ),
- 'Doctrine\ORM\EntityManager' => array(
- 'parameters' => array(
- 'options' => array(
- 'driver' => 'pdo_mysql',
- 'user' => 'root',
- 'password' => '',
- 'host' => '127.0.0.1',
- 'dbname' => 'eboard',
- 'charset' => 'utf8',
- 'port' => 3306
- )
- )
- ),
- 'Doctrine\ORM\Configuration' => array(
- 'parameters' => array(
- 'generateproxies' => true,
- 'proxynamespace' => 'Application\EntityProxy',
- 'proxydir' => 'application/models/entityproxies',
- ),
- ),
- 'Humus\Memcache' => array(
- 'parameters' => array(
- 'servers' => array(
- 0 => array(
- 'host' => '127.0.0.1',
- 'port' => '11211',
- 'persistent' => true,
- 'weight' => '1',
- 'timeout' => '5',
- 'retry_interval' => '15',
- 'status' => '1',
- ),
- ),
- ),
- ),
- 'Humus\Doctrine\Common\EventManager' => array(
- 'parameters' => array(
- 'subscribers' => array(
- 'Gedmo\Loggable\LoggableListener',
- 'Gedmo\Timestampable\TimestampableListener',
- 'Humus\Gedmo\Translatable\TranslationListener',
- 'Humus_Zend_Controller_Plugin_DoctrineFlush',
- 'Doctrine\DBAL\Event\Listeners\MysqlSessionInit',
- ),
- ),
- ),
- 'Humus\Doctrine\ORM\Mapping\Driver\DriverChain' => array(
- 'parameters' => array(
- 'drivers' => array(
- 0 => array(
- 'nestedDriver' => array(
- 'type' => 'yaml',
- 'options' => array(
- 0 => 'application/configs/entities',
- ),
- ),
- 'namespace' => 'Application\Entity',
- ),
- 1 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Humus/Log/Entity',
- ),
- ),
- 'namespace' => 'Humus\Log\Entity',
- ),
- 2 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Humus/Acl/Entity',
- ),
- ),
- 'namespace' => 'Humus\Acl\Entity',
- ),
- 3 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Humus/Translate/Entity',
- ),
- ),
- 'namespace' => 'Humus\Translate\Entity',
- ),
- 4 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Gedmo/Loggable/Entity',
- ),
- ),
- 'namespace' => 'Gedmo\Loggable',
- ),
- 5 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Humus/Model/Date/Entity',
- ),
- ),
- 'namespace' => 'Humus\Model\Date\Entity',
- ),
- 6 => array(
- 'nestedDriver' => array(
- 'type' => 'annotation',
- 'options' => array(
- 0 => 'library/Gedmo/Translatable/Entity',
- ),
- ),
- 'namespace' => 'Gedmo\Translatable\Entity',
- ),
- ),
- ),
- ),
- ),
- 'definition' => array(
- 'Doctrine\ORM\EntityManager' => array(
- 'instantiator' => array(
- 'name' => array(
- 0 => 'Doctrine\ORM\EntityManager',
- 1 => 'create',
- ),
- 'parameters' => array(
- 0 => array(
- 'name' => 'options',
- 'type' => 'array',
- ),
- 1 => array(
- 'name' => 'config',
- 'type' => 'Doctrine\ORM\Configuration',
- ),
- 2 => array(
- 'name' => 'eventmanager',
- 'type' => 'Humus\Doctrine\Common\EventManager',
- ),
- ),
- ),
- ),
- 'Doctrine\Common\Cache\CacheProvider' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- 'methods' => array(
- 'setNamespace' => array(
- 0 => array(
- 'name' => 'namespace',
- 'type' => 'string',
- ),
- ),
- ),
- 'abstract' => true,
- ),
- 'Doctrine\Common\Cache\ApcCache' => array(
- 'supertype' => 'Doctrine\Common\Cache\CacheProvider',
- ),
- 'Doctrine\Common\Cache\ArrayCache' => array(
- 'supertype' => 'Doctrine\Common\Cache\CacheProvider',
- ),
- 'Doctrine\Common\Cache\MemcacheCache' => array(
- 'supertype' => 'Doctrine\Common\Cache\CacheProvider',
- 'methods' => array(
- 'setMemcache' => array(
- 0 => array(
- 'type' => 'Humus\Memcache',
- ),
- ),
- ),
- ),
- 'Doctrine\Common\Cache\XcacheCache' => array(
- 'supertype' => 'Doctrine\Common\Cache\CacheProvider',
- ),
- 'Doctrine\Common\Cache\ZendDataCache' => array(
- 'supertype' => 'Doctrine\Common\Cache\CacheProvider',
- ),
- 'Doctrine\ORM\Configuration' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- 'methods' => array(
- 'setMetadataCacheImpl' => array(
- 0 => array(
- 'name' => 'CacheImpl',
- 'type' => 'DoctrineMetadataCache',
- ),
- ),
- 'setQueryCacheImpl' => array(
- 0 => array(
- 'name' => 'CacheImpl2',
- 'type' => 'DoctrineQueryCache',
- ),
- ),
- 'setAutoGenerateProxyClasses' => array(
- 0 => array(
- 'name' => 'generateproxies',
- 'type' => 'boolean',
- ),
- ),
- 'setProxyDir' => array(
- 0 => array(
- 'name' => 'proxydir',
- 'type' => 'string',
- ),
- ),
- 'setProxyNamespace' => array(
- 0 => array(
- 'name' => 'proxynamespace',
- 'type' => 'string',
- ),
- ),
- 'setMetadataDriverImpl' => array(
- 0 => array(
- 'name' => 'driverimpl',
- 'type' => 'Humus\Doctrine\ORM\Mapping\Driver\DriverChain',
- ),
- ),
- ),
- ),
- 'Doctrine\DBAL\Event\Listeners\OracleSessionInit' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- 'parameters' => array(
- 0 => array(
- 'name' => 'oraclesessioninit',
- 'type' => 'array',
- ),
- ),
- ),
- ),
- 'Gedmo\Loggable\LoggableListener' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- ),
- 'Gedmo\Timestampable\TimestampableListener' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- ),
- 'Humus\Memcache' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- 'methods' => array(
- 'addServers' => array(
- 0 => array(
- 'name' => 'servers',
- 'type' => 'array',
- ),
- ),
- ),
- ),
- 'Humus\Gedmo\Translatable\TranslationListener' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- ),
- 'Humus\Doctrine\ORM\Mapping\Driver\DriverChain' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- 'methods' => array(
- 'addDrivers' => array(
- 0 => array(
- 'name' => 'drivers',
- 'type' => 'array',
- ),
- ),
- ),
- ),
- 'Humus\Doctrine\Common\EventManager' => array(
- 'instantiator' => array(
- 'name' => '__construct',
- ),
- 'methods' => array(
- 'setLocator' => array(
- 0 => array(
- 'name' => 'context',
- 'type' => '$this',
- ),
- ),
- 'addEventSubscribers' => array(
- 0 => array(
- 'name' => 'subscribers',
- 'type' => 'array',
- ),
- ),
- ),
- ),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement