Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
merge with experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
ghua committed Oct 30, 2013
2 parents 26fd325 + c5c3d02 commit 51e61ad
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 1,196 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -68,6 +68,9 @@ In additional, you can use a controller annotation:
testClassLoader:
resource: "@AcmeTestBundle/Controller/TestController.php"

testDirectoryLoader:
resource: "@AcmeTestBundle/Controller"

##### AcmeController.php #####

namespace Acme\TestBundle\Controller;
Expand Down
10 changes: 8 additions & 2 deletions Resources/config/services.yml
Expand Up @@ -44,5 +44,11 @@ services:
arguments: [ @ext_direct.controller_resolver, %kernel.debug% ]

ext_direct.router.cache:
class: Ext\DirectBundle\Router\Loader\CacheLoader
arguments: [ @ext_direct.route.collection, %kernel.cache_dir%, %kernel.debug% ]
class: Ext\DirectBundle\Router\Loader\CacheProvider
arguments: [ @ext_direct.route.collection, %kernel.cache_dir%, %kernel.debug% ]

ext_direct.annotation_directory.loader:
class: Ext\DirectBundle\Router\Loader\AnnotationDirectoryLoader
arguments: [ @ext_direct.annotation_class.loader ]
tags:
- { name: ext_direct.loader }

0 comments on commit 51e61ad

Please sign in to comment.