Fabien Potencier
1d210f86a6
[FrameworkBundle] changed the router:debug to use the shortcut notation for the controller
2013-10-02 16:42:09 +02:00
Fabien Potencier
d997dfa556
[FrameworkBundle] fixed container:debug and router:debug commands
2013-10-02 16:42:09 +02:00
Jean-François Simon
22f9bc887e
[FrameworkBundle] adds routing/container descriptors
2013-10-01 16:13:13 +02:00
Peter Rehm
6fd32f3da4
Added option to show controllers optionally in the router:debug command
2013-09-09 14:59:51 +02:00
Dariusz Górecki
7c47e34928
[CS Fix] Consistent coding-style of concatenation operator usage
2013-04-02 10:39:57 +01:00
Tobias Schultze
15bf0337ed
[FrameworkBundle] fix router debug command
...
- use dedicated Route:getMethods, getSchemes
- pattern -> path
- show missing scheme requirement
- show missing host regex
- refactoring
2013-03-08 13:29:09 +01:00
Tobias Schultze
5361f83be8
[FramworkBundle] fix phpdoc of commands
2013-03-07 14:36:36 +01:00
Fabien Potencier
2d2b9bc1d0
[FrameworkBundle] removed extra whitespaces
2013-02-04 13:45:57 +01:00
inmarelibero
95f0202fac
[FrameworkBundle] fixed wrong indentation on route debug output
2013-02-02 15:13:57 +01:00
Emanuele Gaspari
507ceac726
fixed wrong indentation
2013-02-01 23:03:50 +01:00
Fabien Potencier
94f6116f42
renamed hostname to host in the routing system ( closes #6775 )
...
As explained in #6775 , this has been done for the following reasons:
1. It's also Request::getHost()
2. The term hostname has been obsoleted in
http://tools.ietf.org/html/rfc3986#appendix-D.2 and uses the host only
3. hostname in the RFC was defined as the registered domain name, but we
probably also want to match IP-Adresses with the pattern which is the
host = IP-literal / IPv4address / reg-name for.
2013-01-21 17:57:32 +01:00
Fabien Potencier
463b464c10
replaced usage of Route::getPattern() by Route::getPath()
2013-01-16 23:04:10 +01:00
Fabien Potencier
b357cafd00
[Routing] renamed hostname pattern to just hostname
2013-01-14 17:14:02 +01:00
Mario A. Alvarez Garcia
cf630690be
Fixed copy/paste mistake
2012-12-06 08:14:56 -05:00
Mario A. Alvarez Garcia
d902e9d839
[FrameworkBundle] Added hostnamePattern to the router:debug command
2012-12-06 06:57:32 -05:00
Tobias Schultze
26e56842dc
some type fixes
2012-11-12 11:54:32 +01:00
Arnaud Le Blanc
6cd34570d7
fixed CS
2012-11-12 11:35:46 +01:00
Arnaud Le Blanc
462999d2d2
[Routing] display hostname pattern in router:debug output
2012-11-12 11:14:24 +01:00
Shin
472dfdc46a
oops, the command with name, too
2012-08-24 23:41:40 +09:00
Shin
b1a9587ea7
fixed bug related to the change PR #5326
2012-08-24 23:33:39 +09:00
Xavier Lacot
e44e21c2e9
Reverted to Symfony 2.0's signature, which made it simple to display only a subset of the routes of the application.
...
This is particularly useful for FOSJsRoutingBundle's fos:js-routing:debug command, which allows to filter the list of javascript-exposed routes.
2012-06-28 18:29:35 +02:00
lsmith77
98a00526ad
improved readability
2012-04-17 10:08:22 +02:00
lsmith77
b06537e351
refactored code to use get() when outputting a single route
...
this is useful for a CMS, where in most cases there will be too many routes to make it feasible to load all of them. here a router implementation will be used that will return an empty collection for ->all(). with this refactoring the given routes will not be listed via router:debug, but would still be shown when using router:debug [name]
2012-04-17 10:08:13 +02:00
Tobias Schultze
304e13daa3
replaced command names with supported placeholders in help texts
2012-03-21 05:31:52 +01:00
Fabien Potencier
d34d50f0b0
fixed CS
2011-10-29 12:05:45 +02:00
Fabien Potencier
dec43f5539
merged 2.0
2011-10-29 12:01:39 +02:00
Fabien Potencier
851eb73778
removed unused use statements
2011-10-29 11:56:30 +02:00
Christophe Coevoet
63d2ce28fd
[FrameworkBundle] Fixed the ckeck for the router class
...
The getRouteCollection method is now part of the RouterInterface so the
command should accept any implementation of the interface instead of just
the implementations extending the core one.
2011-10-16 13:56:51 +02:00
Jordi Boggiano
d675c28123
[FrameworkBundle] Use Router instead of RouterInterface
2011-09-04 21:53:06 +02:00
Jordi Boggiano
35a9023b3e
[FrameworkBundle] Added isEnabled to Router commands, fixes #1467
2011-09-04 17:12:35 +02:00
Fabien Potencier
25e99e894b
renamed Command to ContainerAwareCommand
2011-06-20 21:04:55 +02:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Ryan Weaver
409df12a36
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
...
Before this change, the var_export causes namespaces to be escaped:
Before: 'Symfony\\Component\\...'
After: Symfony\Component\...
2011-04-09 17:53:33 -05:00
Fabien Potencier
49d67645d7
[Console] moved Output constants to OutputInterface
2011-03-29 21:53:28 +02:00
Ryan Weaver
a495fa3dce
[FrameworkBundle] Adding a container:debug console
...
This command uses a new container pass which dumps the ContainerBuilder into a cache file by serializing it. It's possible that we don't want this to run when kernel.debug = false, but I don't see the harm of generating the file and running the container:debug in, for example, the prod environment seems to make sense.
2011-03-12 14:44:21 -06:00
Francis Besset
74bae0444f
[FrameworkBundle] Fixed indentation on router:debug command
2011-03-12 14:08:29 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Pascal Borreli
f7716645a5
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Ryan Weaver
5aa6ad28ae
Updating RouteCollection::getRoutes() call to RouteCollection::getAll() in many places.
2010-11-26 14:43:12 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00
Fabien Potencier
ee2ff39eaf
removed @package and @subpackage annotations
2010-08-01 23:06:28 +02:00
Fabien Potencier
256a71298c
fixed phpdoc
2010-07-09 10:28:08 +02:00
Fabien Potencier
15d439809c
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
2010-07-09 10:25:52 +02:00