Created
April 26, 2012 14:38
-
-
Save Ocramius/2499999 to your computer and use it in GitHub Desktop.
Generated Service Locator from Zend\Di\Di
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array ( | |
'Zend\\EventManager\\EventManager' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setSharedCollections', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\SharedEventManager', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setSharedCollections', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\SharedEventManager', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\EventManager\\SharedEventManager' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'Zend\\Mvc\\Controller\\ActionController' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setEventManager', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\EventManager', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setBroker', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Controller\\PluginBroker', | |
), | |
), | |
), | |
3 => | |
array ( | |
'name' => 'setEventManager', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\EventManager', | |
), | |
), | |
), | |
4 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
5 => | |
array ( | |
'name' => 'setBroker', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Controller\\PluginBroker', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\Di\\Di' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
1 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
2 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'Zend\\Mvc\\Controller\\PluginBroker' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setClassLoader', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Controller\\PluginLoader', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
3 => | |
array ( | |
'name' => 'setClassLoader', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Controller\\PluginLoader', | |
), | |
), | |
), | |
4 => | |
array ( | |
'name' => 'setClassLoader', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Controller\\PluginLoader', | |
), | |
), | |
), | |
5 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\Mvc\\Controller\\PluginLoader' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'Zend\\Mvc\\Router\\RouteStack' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => | |
array ( | |
0 => 'Zend\\Mvc\\Router\\Http\\TreeRouteStack', | |
1 => 'factory', | |
), | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setRoutes', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'default' => | |
array ( | |
'type' => 'Zend\\Mvc\\Router\\Http\\Segment', | |
'options' => | |
array ( | |
'route' => '/[:controller[/:action]]', | |
'constraints' => | |
array ( | |
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', | |
'action' => '[a-zA-Z][a-zA-Z0-9_-]*', | |
), | |
'defaults' => | |
array ( | |
'controller' => 'Application\\Controller\\IndexController', | |
'action' => 'index', | |
), | |
), | |
), | |
'home' => | |
array ( | |
'type' => 'Zend\\Mvc\\Router\\Http\\Literal', | |
'options' => | |
array ( | |
'route' => '/', | |
'defaults' => | |
array ( | |
'controller' => 'Application\\Controller\\IndexController', | |
'action' => 'index', | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Renderer\\PhpRenderer' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setResolver', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\Resolver\\AggregateResolver', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setBroker', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\HelperBroker', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setResolver', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\Resolver\\AggregateResolver', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Resolver\\AggregateResolver' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'attach', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'attach', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\Resolver\\TemplateMapResolver', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'attach', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\Resolver\\TemplatePathStack', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Resolver\\TemplateMapResolver' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'layout/layout' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view/layout/layout.phtml', | |
), | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setMap', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'layout/layout' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view/layout/layout.phtml', | |
), | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Resolver\\TemplatePathStack' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setDefaultSuffix', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setPaths', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'application' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view', | |
), | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\HelperBroker' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setClassLoader', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\HelperLoader', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
3 => | |
array ( | |
'name' => 'setLocator', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Di\\Di', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\HelperLoader' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'registerPlugins', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Zend\\Mvc\\View\\DefaultRenderingStrategy' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\View\\View', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setLayoutTemplate', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'layout/layout', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\View' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setEventManager', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\EventManager', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setEventManager', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\EventManager\\EventManager', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Helper\\Url' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setRouter', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Zend\\Mvc\\Router\\RouteStack', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\View\\Helper\\Doctype' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setDoctype', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'HTML5', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\Mvc\\View\\RouteNotFoundStrategy' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setDisplayExceptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => true, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setDisplayNotFoundReason', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => true, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setNotFoundTemplate', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'error/404', | |
), | |
), | |
), | |
), | |
), | |
'Zend\\Mvc\\View\\ExceptionStrategy' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setDisplayExceptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => true, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setExceptionTemplate', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'error/index', | |
), | |
), | |
), | |
), | |
), | |
'doctrine_service' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'doctrine_memcache' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'addServer', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => '127.0.0.1', | |
), | |
1 => | |
array ( | |
'type' => 1, | |
'value' => '11211', | |
), | |
), | |
), | |
), | |
), | |
'doctrine_cache_apc' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'doctrine_cache_array' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'doctrine_cache_memcache' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setMemcache', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_memcache', | |
), | |
), | |
), | |
), | |
), | |
'doctrine_cli' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'DoctrineModule Command Line Interface', | |
), | |
1 => | |
array ( | |
'type' => 1, | |
'value' => 'dev-master', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setName', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'DoctrineModule Command Line Interface', | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setVersion', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => 'dev-master', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_cli_helperset', | |
), | |
), | |
), | |
3 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\DiffCommand', | |
), | |
), | |
), | |
4 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\ExecuteCommand', | |
), | |
), | |
), | |
5 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\GenerateCommand', | |
), | |
), | |
), | |
6 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\MigrateCommand', | |
), | |
), | |
), | |
7 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\StatusCommand', | |
), | |
), | |
), | |
8 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\VersionCommand', | |
), | |
), | |
), | |
9 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Tools\\Console\\Command\\RunSqlCommand', | |
), | |
), | |
), | |
10 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Tools\\Console\\Command\\ImportCommand', | |
), | |
), | |
), | |
11 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\MetadataCommand', | |
), | |
), | |
), | |
12 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\ResultCommand', | |
), | |
), | |
), | |
13 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\QueryCommand', | |
), | |
), | |
), | |
14 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\CreateCommand', | |
), | |
), | |
), | |
15 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\UpdateCommand', | |
), | |
), | |
), | |
16 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\DropCommand', | |
), | |
), | |
), | |
17 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\EnsureProductionSettingsCommand', | |
), | |
), | |
), | |
18 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ConvertDoctrine1SchemaCommand', | |
), | |
), | |
), | |
19 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateRepositoriesCommand', | |
), | |
), | |
), | |
20 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateEntitiesCommand', | |
), | |
), | |
), | |
21 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateProxiesCommand', | |
), | |
), | |
), | |
22 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ConvertMappingCommand', | |
), | |
), | |
), | |
23 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\RunDqlCommand', | |
), | |
), | |
), | |
24 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\ValidateSchemaCommand', | |
), | |
), | |
), | |
25 => | |
array ( | |
'name' => 'add', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Command\\InfoCommand', | |
), | |
), | |
), | |
), | |
), | |
'doctrine_cli_helperset' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
), | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setCommand', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'set', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\ORM\\Tools\\Console\\Helper\\EntityManagerHelper', | |
), | |
1 => | |
array ( | |
'type' => 1, | |
'value' => 'em', | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'set', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper', | |
), | |
1 => | |
array ( | |
'type' => 1, | |
'value' => 'db', | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Helper\\EntityManagerHelper' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_em', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'doctrine_em' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => | |
array ( | |
0 => 'DoctrineORMModule\\Factory\\EntityManager', | |
1 => 'get', | |
), | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_connection', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'orm_connection' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'driver' => 'pdo_mysql', | |
'host' => 'localhost', | |
'port' => '3306', | |
'user' => 'testuser', | |
'password' => 'testpassword', | |
'dbname' => 'testdbname', | |
), | |
), | |
1 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_config', | |
), | |
2 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_evm', | |
), | |
3 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'orm_config' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
), | |
), | |
1 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_driver_chain', | |
), | |
2 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_cache_array', | |
), | |
3 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_cache_array', | |
), | |
4 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
5 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setOptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
), | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setOptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'orm_driver_chain' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
), | |
), | |
1 => | |
array ( | |
'type' => 0, | |
'value' => 'doctrine_cache_array', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'orm_evm' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'subscribers' => | |
array ( | |
), | |
), | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setOptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'subscribers' => | |
array ( | |
), | |
), | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setOptions', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => | |
array ( | |
'subscribers' => | |
array ( | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'Doctrine\\DBAL\\Connection', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setHelperSet', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Connection' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => | |
array ( | |
0 => 'DoctrineORMModule\\Factory\\Connection', | |
1 => 'get', | |
), | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_connection', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\DiffCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
3 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\ExecuteCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\GenerateCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\MigrateCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\StatusCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\VersionCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Tools\\Console\\Command\\RunSqlCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\DBAL\\Tools\\Console\\Command\\ImportCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\MetadataCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\ResultCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\QueryCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\CreateCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\UpdateCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\DropCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
2 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\EnsureProductionSettingsCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ConvertDoctrine1SchemaCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateRepositoriesCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateEntitiesCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\GenerateProxiesCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ConvertMappingCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\RunDqlCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\ValidateSchemaCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'Doctrine\\ORM\\Tools\\Console\\Command\\InfoCommand' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => NULL, | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
'injections' => | |
array ( | |
0 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
1 => | |
array ( | |
'name' => 'setApplication', | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 1, | |
'value' => NULL, | |
), | |
), | |
), | |
), | |
), | |
'orm_em' => | |
array ( | |
'instantiator' => | |
array ( | |
'name' => | |
array ( | |
0 => 'DoctrineORMModule\\Factory\\EntityManager', | |
1 => 'get', | |
), | |
'parameters' => | |
array ( | |
0 => | |
array ( | |
'type' => 0, | |
'value' => 'orm_connection', | |
), | |
), | |
), | |
'injections' => | |
array ( | |
), | |
), | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Zend\Di\Di; | |
class ApplicationContext extends Di | |
{ | |
public function newInstance($name, array $params = array(), $isShared = true) | |
{ | |
if (count($params)) { | |
return parent::newInstance($name, $params, $isShared); | |
}switch ($name) { | |
case 'Zend\EventManager\EventManager': | |
return $this->getZendEventManagerEventManager(); | |
case 'Zend\EventManager\SharedEventManager': | |
return $this->getZendEventManagerSharedEventManager(); | |
case 'Zend\Mvc\Controller\ActionController': | |
return $this->getZendMvcControllerActionController(); | |
case 'Zend\Di\Di': | |
return $this->getZendDiDi(); | |
case 'Zend\Mvc\Controller\PluginBroker': | |
return $this->getZendMvcControllerPluginBroker(); | |
case 'Zend\Mvc\Controller\PluginLoader': | |
return $this->getZendMvcControllerPluginLoader(); | |
case 'Zend\Mvc\Router\RouteStack': | |
return $this->getZendMvcRouterRouteStack(); | |
case 'Zend\View\Renderer\PhpRenderer': | |
return $this->getZendViewRendererPhpRenderer(); | |
case 'Zend\View\Resolver\AggregateResolver': | |
return $this->getZendViewResolverAggregateResolver(); | |
case 'Zend\View\Resolver\TemplateMapResolver': | |
return $this->getZendViewResolverTemplateMapResolver(); | |
case 'Zend\View\Resolver\TemplatePathStack': | |
return $this->getZendViewResolverTemplatePathStack(); | |
case 'Zend\View\HelperBroker': | |
return $this->getZendViewHelperBroker(); | |
case 'Zend\View\HelperLoader': | |
return $this->getZendViewHelperLoader(); | |
case 'Zend\Mvc\View\DefaultRenderingStrategy': | |
return $this->getZendMvcViewDefaultRenderingStrategy(); | |
case 'Zend\View\View': | |
return $this->getZendViewView(); | |
case 'Zend\View\Helper\Url': | |
return $this->getZendViewHelperUrl(); | |
case 'Zend\View\Helper\Doctype': | |
return $this->getZendViewHelperDoctype(); | |
case 'Zend\Mvc\View\RouteNotFoundStrategy': | |
return $this->getZendMvcViewRouteNotFoundStrategy(); | |
case 'Zend\Mvc\View\ExceptionStrategy': | |
return $this->getZendMvcViewExceptionStrategy(); | |
case 'doctrine_service': | |
return $this->getDoctrineService(); | |
case 'doctrine_memcache': | |
return $this->getDoctrineMemcache(); | |
case 'doctrine_cache_apc': | |
return $this->getDoctrineCacheApc(); | |
case 'doctrine_cache_array': | |
return $this->getDoctrineCacheArray(); | |
case 'doctrine_cache_memcache': | |
return $this->getDoctrineCacheMemcache(); | |
case 'doctrine_cli': | |
return $this->getDoctrineCli(); | |
case 'doctrine_cli_helperset': | |
return $this->getDoctrineCliHelperset(); | |
case 'Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper': | |
return $this->getDoctrineORMToolsConsoleHelperEntityManagerHelper(); | |
case 'doctrine_em': | |
return $this->getDoctrineEm(); | |
case 'orm_connection': | |
return $this->getOrmConnection(); | |
case 'orm_config': | |
return $this->getOrmConfig(); | |
case 'orm_driver_chain': | |
return $this->getOrmDriverChain(); | |
case 'orm_evm': | |
return $this->getOrmEvm(); | |
case 'Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper': | |
return $this->getDoctrineDBALToolsConsoleHelperConnectionHelper(); | |
case 'Doctrine\DBAL\Connection': | |
return $this->getDoctrineDBALConnection(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandDiffCommand(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandExecuteCommand(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandGenerateCommand(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandMigrateCommand(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandStatusCommand(); | |
case 'Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand': | |
return $this->getDoctrineDBALMigrationsToolsConsoleCommandVersionCommand(); | |
case 'Doctrine\DBAL\Tools\Console\Command\RunSqlCommand': | |
return $this->getDoctrineDBALToolsConsoleCommandRunSqlCommand(); | |
case 'Doctrine\DBAL\Tools\Console\Command\ImportCommand': | |
return $this->getDoctrineDBALToolsConsoleCommandImportCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand': | |
return $this->getDoctrineORMToolsConsoleCommandClearCacheMetadataCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand': | |
return $this->getDoctrineORMToolsConsoleCommandClearCacheResultCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand': | |
return $this->getDoctrineORMToolsConsoleCommandClearCacheQueryCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand': | |
return $this->getDoctrineORMToolsConsoleCommandSchemaToolCreateCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand': | |
return $this->getDoctrineORMToolsConsoleCommandSchemaToolUpdateCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\SchemaTool\DropCommand': | |
return $this->getDoctrineORMToolsConsoleCommandSchemaToolDropCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand': | |
return $this->getDoctrineORMToolsConsoleCommandEnsureProductionSettingsCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand': | |
return $this->getDoctrineORMToolsConsoleCommandConvertDoctrine1SchemaCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\GenerateRepositoriesCommand': | |
return $this->getDoctrineORMToolsConsoleCommandGenerateRepositoriesCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\GenerateEntitiesCommand': | |
return $this->getDoctrineORMToolsConsoleCommandGenerateEntitiesCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand': | |
return $this->getDoctrineORMToolsConsoleCommandGenerateProxiesCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand': | |
return $this->getDoctrineORMToolsConsoleCommandConvertMappingCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\RunDqlCommand': | |
return $this->getDoctrineORMToolsConsoleCommandRunDqlCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand': | |
return $this->getDoctrineORMToolsConsoleCommandValidateSchemaCommand(); | |
case 'Doctrine\ORM\Tools\Console\Command\InfoCommand': | |
return $this->getDoctrineORMToolsConsoleCommandInfoCommand(); | |
case 'orm_em': | |
return $this->getOrmEm(); | |
default: | |
return parent::newInstance($name, $params); | |
} | |
} | |
public function getZendEventManagerEventManager() | |
{ | |
$object = new Zend\EventManager\EventManager(NULL); | |
$object->setSharedCollections($this->get('Zend\\EventManager\\SharedEventManager')); | |
$object->setSharedCollections($this->get('Zend\\EventManager\\SharedEventManager')); | |
return $object; | |
} | |
public function getZendEventManagerSharedEventManager() | |
{ | |
$object = new Zend\EventManager\SharedEventManager(); | |
return $object; | |
} | |
public function getZendMvcControllerActionController() | |
{ | |
$object = new Zend\Mvc\Controller\ActionController(); | |
$object->setEventManager($this->get('Zend\\EventManager\\EventManager')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setBroker($this->get('Zend\\Mvc\\Controller\\PluginBroker')); | |
$object->setEventManager($this->get('Zend\\EventManager\\EventManager')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setBroker($this->get('Zend\\Mvc\\Controller\\PluginBroker')); | |
return $object; | |
} | |
public function getZendDiDi() | |
{ | |
$object = new Zend\Di\Di(NULL, NULL, NULL); | |
return $object; | |
} | |
public function getZendMvcControllerPluginBroker() | |
{ | |
$object = new Zend\Mvc\Controller\PluginBroker(NULL); | |
$object->setClassLoader($this->get('Zend\\Mvc\\Controller\\PluginLoader')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setClassLoader($this->get('Zend\\Mvc\\Controller\\PluginLoader')); | |
$object->setClassLoader($this->get('Zend\\Mvc\\Controller\\PluginLoader')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
return $object; | |
} | |
public function getZendMvcControllerPluginLoader() | |
{ | |
$object = new Zend\Mvc\Controller\PluginLoader(NULL); | |
return $object; | |
} | |
public function getZendMvcRouterRouteStack() | |
{ | |
$object = call_user_func(array ( | |
0 => 'Zend\\Mvc\\Router\\Http\\TreeRouteStack', | |
1 => 'factory', | |
)); | |
$object->setRoutes(array ( | |
'default' => | |
array ( | |
'type' => 'Zend\\Mvc\\Router\\Http\\Segment', | |
'options' => | |
array ( | |
'route' => '/[:controller[/:action]]', | |
'constraints' => | |
array ( | |
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', | |
'action' => '[a-zA-Z][a-zA-Z0-9_-]*', | |
), | |
'defaults' => | |
array ( | |
'controller' => 'Application\\Controller\\IndexController', | |
'action' => 'index', | |
), | |
), | |
), | |
'home' => | |
array ( | |
'type' => 'Zend\\Mvc\\Router\\Http\\Literal', | |
'options' => | |
array ( | |
'route' => '/', | |
'defaults' => | |
array ( | |
'controller' => 'Application\\Controller\\IndexController', | |
'action' => 'index', | |
), | |
), | |
), | |
)); | |
return $object; | |
} | |
public function getZendViewRendererPhpRenderer() | |
{ | |
$object = new Zend\View\Renderer\PhpRenderer(NULL); | |
$object->setResolver($this->get('Zend\\View\\Resolver\\AggregateResolver')); | |
$object->setBroker($this->get('Zend\\View\\HelperBroker')); | |
$object->setResolver($this->get('Zend\\View\\Resolver\\AggregateResolver')); | |
return $object; | |
} | |
public function getZendViewResolverAggregateResolver() | |
{ | |
$object = new Zend\View\Resolver\AggregateResolver(); | |
$object->attach(NULL); | |
$object->attach($this->get('Zend\\View\\Resolver\\TemplateMapResolver')); | |
$object->attach($this->get('Zend\\View\\Resolver\\TemplatePathStack')); | |
return $object; | |
} | |
public function getZendViewResolverTemplateMapResolver() | |
{ | |
$object = new Zend\View\Resolver\TemplateMapResolver(array ( | |
'layout/layout' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view/layout/layout.phtml', | |
)); | |
$object->setMap(array ( | |
'layout/layout' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view/layout/layout.phtml', | |
)); | |
return $object; | |
} | |
public function getZendViewResolverTemplatePathStack() | |
{ | |
$object = new Zend\View\Resolver\TemplatePathStack(NULL); | |
$object->setDefaultSuffix(NULL); | |
$object->setPaths(array ( | |
'application' => '/home/ocramius/Desktop/ZendSkeletonApplication/module/Application/config/../view', | |
)); | |
return $object; | |
} | |
public function getZendViewHelperBroker() | |
{ | |
$object = new Zend\View\HelperBroker(NULL); | |
$object->setClassLoader($this->get('Zend\\View\\HelperLoader')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
$object->setLocator($this->get('Zend\\Di\\Di')); | |
return $object; | |
} | |
public function getZendViewHelperLoader() | |
{ | |
$object = new Zend\View\HelperLoader(NULL); | |
$object->registerPlugins(NULL); | |
return $object; | |
} | |
public function getZendMvcViewDefaultRenderingStrategy() | |
{ | |
$object = new Zend\Mvc\View\DefaultRenderingStrategy($this->get('Zend\\View\\View')); | |
$object->setLayoutTemplate('layout/layout'); | |
return $object; | |
} | |
public function getZendViewView() | |
{ | |
$object = new Zend\View\View(); | |
$object->setEventManager($this->get('Zend\\EventManager\\EventManager')); | |
$object->setEventManager($this->get('Zend\\EventManager\\EventManager')); | |
return $object; | |
} | |
public function getZendViewHelperUrl() | |
{ | |
$object = new Zend\View\Helper\Url(); | |
$object->setRouter($this->get('Zend\\Mvc\\Router\\RouteStack')); | |
return $object; | |
} | |
public function getZendViewHelperDoctype() | |
{ | |
$object = new Zend\View\Helper\Doctype(); | |
$object->setDoctype('HTML5'); | |
return $object; | |
} | |
public function getZendMvcViewRouteNotFoundStrategy() | |
{ | |
$object = new Zend\Mvc\View\RouteNotFoundStrategy(); | |
$object->setDisplayExceptions(true); | |
$object->setDisplayNotFoundReason(true); | |
$object->setNotFoundTemplate('error/404'); | |
return $object; | |
} | |
public function getZendMvcViewExceptionStrategy() | |
{ | |
$object = new Zend\Mvc\View\ExceptionStrategy(); | |
$object->setDisplayExceptions(true); | |
$object->setExceptionTemplate('error/index'); | |
return $object; | |
} | |
public function getDoctrineService() | |
{ | |
$object = new DoctrineModule\Service\Service(); | |
return $object; | |
} | |
public function getDoctrineMemcache() | |
{ | |
$object = new Memcache(); | |
$object->addServer('127.0.0.1', '11211'); | |
return $object; | |
} | |
public function getDoctrineCacheApc() | |
{ | |
$object = new Doctrine\Common\Cache\ApcCache(); | |
return $object; | |
} | |
public function getDoctrineCacheArray() | |
{ | |
$object = new Doctrine\Common\Cache\ArrayCache(); | |
return $object; | |
} | |
public function getDoctrineCacheMemcache() | |
{ | |
$object = new Doctrine\Common\Cache\MemcacheCache(); | |
$object->setMemcache($this->get('doctrine_memcache')); | |
return $object; | |
} | |
public function getDoctrineCli() | |
{ | |
$object = new Symfony\Component\Console\Application('DoctrineModule Command Line Interface', 'dev-master'); | |
$object->setName('DoctrineModule Command Line Interface'); | |
$object->setVersion('dev-master'); | |
$object->setHelperSet($this->get('doctrine_cli_helperset')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\DiffCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\ExecuteCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\GenerateCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\MigrateCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\StatusCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Migrations\\Tools\\Console\\Command\\VersionCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Tools\\Console\\Command\\RunSqlCommand')); | |
$object->add($this->get('Doctrine\\DBAL\\Tools\\Console\\Command\\ImportCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\MetadataCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\ResultCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ClearCache\\QueryCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\CreateCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\UpdateCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\SchemaTool\\DropCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\EnsureProductionSettingsCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ConvertDoctrine1SchemaCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\GenerateRepositoriesCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\GenerateEntitiesCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\GenerateProxiesCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ConvertMappingCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\RunDqlCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\ValidateSchemaCommand')); | |
$object->add($this->get('Doctrine\\ORM\\Tools\\Console\\Command\\InfoCommand')); | |
return $object; | |
} | |
public function getDoctrineCliHelperset() | |
{ | |
$object = new Symfony\Component\Console\Helper\HelperSet(array ( | |
)); | |
$object->setCommand(NULL); | |
$object->set($this->get('Doctrine\\ORM\\Tools\\Console\\Helper\\EntityManagerHelper'), 'em'); | |
$object->set($this->get('Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper'), 'db'); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleHelperEntityManagerHelper() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($this->get('doctrine_em')); | |
$object->setHelperSet(NULL); | |
$object->setHelperSet(NULL); | |
$object->setHelperSet(NULL); | |
return $object; | |
} | |
public function getDoctrineEm() | |
{ | |
$object = call_user_func(array ( | |
0 => 'DoctrineORMModule\\Factory\\EntityManager', | |
1 => 'get', | |
), $this->get('orm_connection')); | |
return $object; | |
} | |
public function getOrmConnection() | |
{ | |
$object = new DoctrineORMModule\Doctrine\ORM\Connection(array ( | |
'driver' => 'pdo_mysql', | |
'host' => 'localhost', | |
'port' => '3306', | |
'user' => 'testuser', | |
'password' => 'testpassword', | |
'dbname' => 'testdbname', | |
), $this->get('orm_config'), $this->get('orm_evm'), NULL); | |
return $object; | |
} | |
public function getOrmConfig() | |
{ | |
$object = new DoctrineORMModule\Doctrine\ORM\Configuration(array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
), $this->get('orm_driver_chain'), $this->get('doctrine_cache_array'), $this->get('doctrine_cache_array'), NULL, NULL); | |
$object->setOptions(array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
)); | |
$object->setOptions(array ( | |
'auto_generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineORMModule/Proxy', | |
'proxy_namespace' => 'DoctrineORMModule\\Proxy', | |
'entity_namespaces' => | |
array ( | |
), | |
'custom_datetime_functions' => | |
array ( | |
), | |
'custom_numeric_functions' => | |
array ( | |
), | |
'custom_string_functions' => | |
array ( | |
), | |
'custom_hydration_modes' => | |
array ( | |
), | |
'named_queries' => | |
array ( | |
), | |
'named_native_queries' => | |
array ( | |
), | |
)); | |
return $object; | |
} | |
public function getOrmDriverChain() | |
{ | |
$object = new DoctrineORMModule\Doctrine\ORM\DriverChain(array ( | |
), $this->get('doctrine_cache_array')); | |
return $object; | |
} | |
public function getOrmEvm() | |
{ | |
$object = new DoctrineModule\Doctrine\Common\EventManager(array ( | |
'subscribers' => | |
array ( | |
), | |
)); | |
$object->setOptions(array ( | |
'subscribers' => | |
array ( | |
), | |
)); | |
$object->setOptions(array ( | |
'subscribers' => | |
array ( | |
), | |
)); | |
return $object; | |
} | |
public function getDoctrineDBALToolsConsoleHelperConnectionHelper() | |
{ | |
$object = new Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($this->get('Doctrine\\DBAL\\Connection')); | |
$object->setHelperSet(NULL); | |
$object->setHelperSet(NULL); | |
$object->setHelperSet(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALConnection() | |
{ | |
$object = call_user_func(array ( | |
0 => 'DoctrineORMModule\\Factory\\Connection', | |
1 => 'get', | |
), $this->get('orm_connection')); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandDiffCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandExecuteCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandGenerateCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandMigrateCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandStatusCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALMigrationsToolsConsoleCommandVersionCommand() | |
{ | |
$object = new Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALToolsConsoleCommandRunSqlCommand() | |
{ | |
$object = new Doctrine\DBAL\Tools\Console\Command\RunSqlCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineDBALToolsConsoleCommandImportCommand() | |
{ | |
$object = new Doctrine\DBAL\Tools\Console\Command\ImportCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandClearCacheMetadataCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandClearCacheResultCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandClearCacheQueryCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandSchemaToolCreateCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandSchemaToolUpdateCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandSchemaToolDropCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\SchemaTool\DropCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandEnsureProductionSettingsCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandConvertDoctrine1SchemaCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandGenerateRepositoriesCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\GenerateRepositoriesCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandGenerateEntitiesCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\GenerateEntitiesCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandGenerateProxiesCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandConvertMappingCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandRunDqlCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\RunDqlCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandValidateSchemaCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getDoctrineORMToolsConsoleCommandInfoCommand() | |
{ | |
$object = new Doctrine\ORM\Tools\Console\Command\InfoCommand(NULL); | |
$object->setApplication(NULL); | |
$object->setApplication(NULL); | |
return $object; | |
} | |
public function getOrmEm() | |
{ | |
$object = call_user_func(array ( | |
0 => 'DoctrineORMModule\\Factory\\EntityManager', | |
1 => 'get', | |
), $this->get('orm_connection')); | |
return $object; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attached the locator that @EvanDotPro is using (for comparison).
Development on my locator can be followed on https://github.com/Ocramius/zf2/tree/experiment/feature/di-instance-compiler