github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

symfony / symfony

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Download Source
    • 989
    • 165
  • Source
  • Commits
  • Network (165)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Graph
  • Members
  • Pull Requests

dstendardi wants someone to pull 1 commit into symfony:master from dstendardi:master

  • Discussion
  • Commits 1
  • Files Changed 1
  • Reply

Showing 2 comments with 1 commit and 0 commit comments

#13 Closed

Add a "routing.generator.base.class" to the routing service definition

dstendardi — Sat Sep 25 04:25:37 -0700 2010

This parameter allow end user to customize routing generation without having to redefine the whole service.

dstendardi added some commits

Sat Sep 25 04:15:11 -0700 2010

3322e57 [Routing] added the parameter routing.generator.base.class

fabpot commented

Sun Sep 26 02:29:01 -0700 2010

Instead of just added this specific configuration, I have instead added all Router options in http://github.com/fabpot/symfony/commit/aaba52d92816bdc9ce27b491dc8d28c2587c2c2c

dstendardi commented

Sun Sep 26 09:46:33 -0700 2010

thanks !

Comment on this pull request

You must be logged in to comment on pull requests.

Active Participants

  • dstendardi
  • fabpot

Showing 1 unique commit by 1 author.

3322e57a dstendardi [Routing] added the parameter routing.generator.base.class Sat Sep 25 04:15:11 -0700 2010

Showing 1 changed files with 3 additions and 1 deletion.

M src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml 4 ••••
Txt src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml
  • View file @ 3322e57
... ...
@@ -11,6 +11,7 @@
11 11
         <parameter key="routing.loader.xml.class">Symfony\Component\Routing\Loader\XmlFileLoader</parameter>
12 12
         <parameter key="routing.loader.yml.class">Symfony\Component\Routing\Loader\YamlFileLoader</parameter>
13 13
         <parameter key="routing.loader.php.class">Symfony\Component\Routing\Loader\PhpFileLoader</parameter>
  14
+        <parameter key="routing.generator.base.class">Symfony\Component\Routing\Generator\UrlGenerator</parameter>
14 15
     </parameters>
15 16
 
16 17
     <services>
... ...
@@ -47,7 +48,8 @@
47 48
                 <argument key="debug">%kernel.debug%</argument>
48 49
                 <argument key="matcher_cache_class">%kernel.name%UrlMatcher</argument>
49 50
                 <argument key="generator_cache_class">%kernel.name%_%kernel.environment%UrlGenerator</argument>
  51
+                <argument key="generator_base_class">%routing.generator.base.class%</argument>
50 52
             </argument>
51 53
         </service>
52 54
     </services>
53  
-</container>
  55
+</container>
54 56
\ No newline at end of file
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • Русский
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Русский
  • Српски
  • Svenska
  • 中文

Keyboard Shortcuts

Site wide shortcuts

s
Focus site search
?
Bring up this help dialog

Commit list

j
Move selected down
k
Move selected up
t
Open tree
p
Open parent
c or o or enter
Open commit

Pull request list

j
Move selected down
k
Move selected up
o or enter
Open issue

Issues

j
Move selected down
k
Move selected up
x
Toggle select target
o or enter
Open issue
I
Mark selected as read
U
Mark selected as unread
e
Close selected
y
Remove selected from view
c
Create issue
l
Create label
i
Back to inbox
u
Back to issues
/
Focus issues search

Network Graph

← or h
Scroll left
→ or l
Scroll right
↑ or k
Scroll up
↓ or j
Scroll down
t
Toggle visibility of head labels
shift ← or shift h
Scroll all the way left
shift → or shift l
Scroll all the way right
shift ↑ or shift k
Scroll all the way up
shift ↓ or shift j
Scroll all the way down