Skip to content

Instantly share code, notes, and snippets.

@Thinkscape
Created March 15, 2013 11:24
Show Gist options
  • Select an option

  • Save Thinkscape/5169206 to your computer and use it in GitHub Desktop.

Select an option

Save Thinkscape/5169206 to your computer and use it in GitHub Desktop.
<?php
return array (
'view_manager' =>
array (
'template_path_stack' =>
array (
'zenddevelopertools' => '/Users/Thinkscape/Documents/Projects/jobdate/vendor/zendframework/zend-developer-tools/config/../view',
0 => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../view',
),
'display_not_found_reason' => true,
'display_exceptions' => true,
'doctype' => 'HTML5',
'not_found_template' => 'error/404',
'exception_template' => 'error/index',
'template_map' =>
array (
'layout/layout' => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../view/layout/layout.phtml',
'application/index/index' => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../view/application/index/index.phtml',
'error/404' => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../view/error/404.phtml',
'error/index' => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../view/error/index.phtml',
'zend-developer-tools/toolbar/doctrine-orm-queries' => '/Users/Thinkscape/Documents/Projects/jobdate/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-queries.phtml',
'zend-developer-tools/toolbar/doctrine-orm-mappings' => '/Users/Thinkscape/Documents/Projects/jobdate/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-mappings.phtml',
),
),
'doctrine' =>
array (
'driver' =>
array (
'application_entities' =>
array (
'class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
'cache' => 'array',
'paths' =>
array (
0 => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../src/Application/Entity',
),
),
'orm_default' =>
array (
'drivers' =>
array (
'Application\\Entity' => 'application_entities',
),
'class' => 'Doctrine\\ORM\\Mapping\\Driver\\DriverChain',
),
),
'cache' =>
array (
'apc' =>
array (
'class' => 'Doctrine\\Common\\Cache\\ApcCache',
),
'array' =>
array (
'class' => 'Doctrine\\Common\\Cache\\ArrayCache',
),
'filesystem' =>
array (
'class' => 'Doctrine\\Common\\Cache\\FilesystemCache',
'directory' => 'data/DoctrineModule/cache',
),
'memcache' =>
array (
'class' => 'Doctrine\\Common\\Cache\\MemcacheCache',
'instance' => 'my_memcache_alias',
),
'memcached' =>
array (
'class' => 'Doctrine\\Common\\Cache\\MemcachedCache',
'instance' => 'my_memcached_alias',
),
'redis' =>
array (
'class' => 'Doctrine\\Common\\Cache\\RedisCache',
'instance' => 'my_redis_alias',
),
'wincache' =>
array (
'class' => 'Doctrine\\Common\\Cache\\WinCacheCache',
),
'xcache' =>
array (
'class' => 'Doctrine\\Common\\Cache\\XcacheCache',
),
'zenddata' =>
array (
'class' => 'Doctrine\\Common\\Cache\\ZendDataCache',
),
),
'connection' =>
array (
'orm_default' =>
array (
'configuration' => 'orm_default',
'eventmanager' => 'orm_default',
'params' =>
array (
'host' => '127.0.0.1',
'port' => '3306',
'user' => 'root',
'password' => '',
'dbname' => 'docfun',
),
'driverClass' => 'Doctrine\\DBAL\\Driver\\PDOMySql\\Driver',
),
),
'configuration' =>
array (
'orm_default' =>
array (
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'driver' => 'orm_default',
'generate_proxies' => true,
'proxy_dir' => 'data/DoctrineORMModule/Proxy',
'proxy_namespace' => 'DoctrineORMModule\\Proxy',
'filters' =>
array (
),
),
),
'entitymanager' =>
array (
'orm_default' =>
array (
'connection' => 'orm_default',
'configuration' => 'orm_default',
),
),
'eventmanager' =>
array (
'orm_default' =>
array (
),
),
'sql_logger_collector' =>
array (
'orm_default' =>
array (
),
),
'entity_resolver' =>
array (
'orm_default' =>
array (
),
),
'authentication' =>
array (
'orm_default' =>
array (
'objectManager' => 'doctrine.entitymanager.orm_default',
),
),
),
'router' =>
array (
'routes' =>
array (
'home' =>
array (
'type' => 'Zend\\Mvc\\Router\\Http\\Literal',
'options' =>
array (
'route' => '/',
'defaults' =>
array (
'controller' => 'Application\\Controller\\Index',
'action' => 'index',
),
),
),
'application' =>
array (
'type' => 'Literal',
'options' =>
array (
'route' => '/application',
'defaults' =>
array (
'__NAMESPACE__' => 'Application\\Controller',
'controller' => 'Index',
'action' => 'index',
),
),
'may_terminate' => true,
'child_routes' =>
array (
'default' =>
array (
'type' => '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 (
),
),
),
),
),
'doctrine_orm_module_yuml' =>
array (
'type' => 'Zend\\Mvc\\Router\\Http\\Literal',
'options' =>
array (
'route' => '/ocra_service_manager_yuml',
'defaults' =>
array (
'controller' => 'DoctrineORMModule\\Yuml\\YumlController',
'action' => 'index',
),
),
),
),
),
'service_manager' =>
array (
'factories' =>
array (
'translator' => 'Zend\\I18n\\Translator\\TranslatorServiceFactory',
),
),
'translator' =>
array (
'locale' => 'en_US',
'translation_file_patterns' =>
array (
0 =>
array (
'type' => 'gettext',
'base_dir' => '/Users/Thinkscape/Documents/Projects/jobdate/module/Application/config/../language',
'pattern' => '%s.mo',
),
),
),
'controllers' =>
array (
'invokables' =>
array (
'Application\\Controller\\Index' => 'Application\\Controller\\IndexController',
'ZFTool\\Controller\\Info' => 'ZFTool\\Controller\\InfoController',
'ZFTool\\Controller\\Module' => 'ZFTool\\Controller\\ModuleController',
'ZFTool\\Controller\\Classmap' => 'ZFTool\\Controller\\ClassmapController',
'ZFTool\\Controller\\Create' => 'ZFTool\\Controller\\CreateController',
'ZFTool\\Controller\\Install' => 'ZFTool\\Controller\\InstallController',
),
),
'zenddevelopertools' =>
array (
'profiler' =>
array (
'collectors' =>
array (
'orm_default' => 'doctrine.sql_logger_collector.orm_default',
'orm_default_mappings' => 'doctrine.mapping_collector.orm_default',
),
'enabled' => true,
'strict' => false,
'flush_early' => false,
'cache_dir' => 'data/cache',
'matcher' =>
array (
),
),
'toolbar' =>
array (
'entries' =>
array (
'orm_default' => 'zend-developer-tools/toolbar/doctrine-orm-queries',
'orm_default_mappings' => 'zend-developer-tools/toolbar/doctrine-orm-mappings',
),
'enabled' => true,
'auto_hide' => false,
'position' => 'bottom',
'version_check' => false,
),
),
'ZFTool' =>
array (
'disableUsage' => false,
),
'console' =>
array (
'router' =>
array (
'routes' =>
array (
'zftool-version' =>
array (
'options' =>
array (
'route' => 'version',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Info',
'action' => 'version',
),
),
),
'zftool-version2' =>
array (
'options' =>
array (
'route' => '--version',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Info',
'action' => 'version',
),
),
),
'zftool-config-list' =>
array (
'options' =>
array (
'route' => 'config [list]',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Info',
'action' => 'config',
),
),
),
'zftool-classmap-generate' =>
array (
'options' =>
array (
'route' => 'classmap generate <directory> [<destination>] [--append|-a] [--overwrite|-w]',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Classmap',
'action' => 'generate',
),
),
),
'zftool-modules-list' =>
array (
'options' =>
array (
'route' => 'modules [list]',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Module',
'action' => 'list',
),
),
),
'zftool-create-project' =>
array (
'options' =>
array (
'route' => 'create project <path>',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Create',
'action' => 'project',
),
),
),
'zftool-create-module' =>
array (
'options' =>
array (
'route' => 'create module <name> [<path>]',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Create',
'action' => 'module',
),
),
),
'zftool-install-zf' =>
array (
'options' =>
array (
'route' => 'install zf <path> [<version>]',
'defaults' =>
array (
'controller' => 'ZFTool\\Controller\\Install',
'action' => 'zf',
),
),
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment