Commit 1c862457 authored by Unknown's avatar Unknown
Browse files

Ajout de la gestion des routings

parent e9cf99f0
......@@ -4,24 +4,16 @@
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="PHP Runtime" type="php">
<CLASSES>
<root url="jar://$APPLICATION_HOME_DIR$/plugins/php/lib/php.jar!/stubs/standard" />
</CLASSES>
<SOURCES>
<root url="jar://$APPLICATION_HOME_DIR$/plugins/php/lib/php.jar!/stubs/standard" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="PHARS">
<CLASSES>
<root url="phar://$MODULE_DIR$/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtensionInPhar.phar/" />
<root url="phar://$MODULE_DIR$/composer.phar/" />
<root url="phar://$MODULE_DIR$/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/phar/phar-sample.phar/" />
</CLASSES>
<SOURCES>
<root url="phar://$MODULE_DIR$/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtensionInPhar.phar/" />
<root url="phar://$MODULE_DIR$/composer.phar/" />
<root url="phar://$MODULE_DIR$/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/phar/phar-sample.phar/" />
</SOURCES>
</library>
......
<component name="CopyrightManager">
<settings default="" />
</component>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9,7 +9,9 @@
<body>
<div class="events">
<div class="events-centerer">
<img src="{{ asset ('img/1.jpg') }}">
<a href="{{ path('galerie_photos', {'annee':'2017', 'evenement': 'NdT'}) }}">
<img src="{{ asset ('img/1.jpg') }}"/>
</a>
</div>
</div>
</body>
......
app:
resource: "@AppBundle/Controller/"
type: annotation
resource: '@AppBundle/Controller/'
type: annotation
\ No newline at end of file
......@@ -47,16 +47,16 @@
},
{
"name": "doctrine/annotations",
"version": "v1.3.1",
"version": "v1.4.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/annotations.git",
"reference": "bd4461328621bde0ae6b1b2675fbc6aca4ceb558"
"reference": "54cacc9b81758b14e3ce750f205a393d52339e97"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/bd4461328621bde0ae6b1b2675fbc6aca4ceb558",
"reference": "bd4461328621bde0ae6b1b2675fbc6aca4ceb558",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97",
"reference": "54cacc9b81758b14e3ce750f205a393d52339e97",
"shasum": ""
},
"require": {
......@@ -65,7 +65,7 @@
},
"require-dev": {
"doctrine/cache": "1.*",
"phpunit/phpunit": "^5.6.1"
"phpunit/phpunit": "^5.7"
},
"type": "library",
"extra": {
......@@ -111,7 +111,7 @@
"docblock",
"parser"
],
"time": "2016-12-30T15:59:45+00:00"
"time": "2017-02-24T16:22:25+00:00"
},
{
"name": "doctrine/cache",
......@@ -995,16 +995,16 @@
},
{
"name": "paragonie/random_compat",
"version": "v2.0.4",
"version": "v2.0.7",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e"
"reference": "b5ea1ef3d8ff10c307ba8c5945c2f134e503278f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e",
"reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/b5ea1ef3d8ff10c307ba8c5945c2f134e503278f",
"reference": "b5ea1ef3d8ff10c307ba8c5945c2f134e503278f",
"shasum": ""
},
"require": {
......@@ -1039,7 +1039,7 @@
"pseudorandom",
"random"
],
"time": "2016-11-07T23:38:38+00:00"
"time": "2017-02-27T17:11:23+00:00"
},
{
"name": "psr/cache",
......@@ -1955,16 +1955,16 @@
},
{
"name": "twig/twig",
"version": "v2.1.0",
"version": "v2.2.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "9062992538bc5855a683c6737257bfa18d25a4b8"
"reference": "29bb02dde09ff56291d30f7687eb8696918023af"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/9062992538bc5855a683c6737257bfa18d25a4b8",
"reference": "9062992538bc5855a683c6737257bfa18d25a4b8",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/29bb02dde09ff56291d30f7687eb8696918023af",
"reference": "29bb02dde09ff56291d30f7687eb8696918023af",
"shasum": ""
},
"require": {
......@@ -1972,13 +1972,14 @@
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"psr/container": "^1.0",
"symfony/debug": "~2.7",
"symfony/phpunit-bridge": "~3.2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"
"dev-master": "2.2-dev"
}
},
"autoload": {
......@@ -2013,7 +2014,7 @@
"keywords": [
"templating"
],
"time": "2017-01-11T19:39:01+00:00"
"time": "2017-02-27T00:16:20+00:00"
}
],
"packages-dev": [
......
......@@ -6,6 +6,7 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class DefaultController extends Controller
{
/**
......
......@@ -6,22 +6,25 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
/**
* @Route("/galerie")
*/
class GalerieController extends Controller
{
/**
* @Route("/galerie/", name="galerie")
* @Route("/", name="galerie")
*/
public function indexAction()
public function listAction()
{
// replace this example code with whatever you need
return $this->render('galerie/new_page.html.twig');
}
/**
* @Route("/galerie/evenement", name="galerie-evenement")
* @Route("/{evenement}/{annee}/", name="galerie_photos", requirements={"annee":"\d+"})
*/
public function showAction()
public function showAction($evenement,$annee)
{
return $this->render('galerie/photos.html.twig');
return $this->render('galerie/photos.html.twig');
}
}
\ No newline at end of file
......@@ -179,11 +179,11 @@ Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inl
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "twig.cache_warmer" to "cache_warmer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "twig.template_cache_warmer" to "cache_warmer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "doctrine.orm.proxy_cache_warmer" to "cache_warmer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "8ec7d4d1150411a423dd1f3aff376ca4e7b5a14b88c4524fce9f553ae5d3a341_1" to "config_cache_factory".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "ea573aa72933ab75314b48c2a80434d645b26da6732941bb86dba54a6616bb06_1" to "config_cache_factory".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "cache.property_access" to "property_accessor".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "session.attribute_bag" to "session".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "session.flash_bag" to "session".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "e8005c83d56c70554002b061cd5f62096350ee0fddfbba5160afd7296df63512_1" to "form.resolved_type_factory".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "a87f5a28b9a6e7f93dbcf8b5bf985cc497a5494a948db845b5bd02b92438bb86_1" to "form.resolved_type_factory".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "form.extension" to "form.registry".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "form.choice_list_factory.default" to "form.choice_list_factory.property_access".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "form.choice_list_factory.property_access" to "form.choice_list_factory.cached".
......@@ -193,8 +193,8 @@ Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inl
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "security.csrf.token_storage" to "security.csrf.token_manager".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "assets._default_package" to "assets.packages".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "validator.validator_factory" to "validator.builder".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "f9c7e02e086386c4d866e45d7d757972916e86b3f48e0db70e9d9600f6c3719e_1" to "validator.mapping.cache.symfony".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "f9c7e02e086386c4d866e45d7d757972916e86b3f48e0db70e9d9600f6c3719e_2" to "validator.mapping.cache.doctrine.apc".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "978a8c602bc859d10002b16cd62b42c466c71d73b99eadb527e6e5adad2047f9_1" to "validator.mapping.cache.symfony".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "978a8c602bc859d10002b16cd62b42c466c71d73b99eadb527e6e5adad2047f9_2" to "validator.mapping.cache.doctrine.apc".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "profiler.storage" to "profiler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "data_collector.time" to "profiler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "data_collector.memory" to "profiler".
......@@ -218,7 +218,7 @@ Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inl
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "sensio_framework_extra.routing.loader.annot_dir" to "routing.resolver".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "sensio_framework_extra.routing.loader.annot_file" to "routing.resolver".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "routing.resolver" to "routing.loader".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "768fd9c2b52b909da36f3d207a1afd4a7b384e9ed8e930e50bf80ff2962be716_2" to "annotations.cache".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "6bffd74a1041e00baa980dbe67497190fec5cb2195e3012af4fba6ad10465d4c_2" to "annotations.cache".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "security.authentication.provider.anonymous.main" to "security.authentication.manager".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "security.expression_language" to "security.access.expression_voter".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "security.request_matcher.5314eeb91110adf24b9b678372bb11bbe00e8858c519c088bfb65f525181ad3bf573fd1d" to "security.firewall.map".
......@@ -257,9 +257,9 @@ Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inl
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "twig.configurator.environment" to "twig".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "twig.template_iterator" to "twig.template_cache_warmer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "twig.form.engine" to "twig.form.renderer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_1" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_2" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_3" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_1" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_2" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_3" to "swiftmailer.mailer.default.transport.authhandler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "swiftmailer.transport.replacementfactory" to "swiftmailer.mailer.default.transport.buffer".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "doctrine.dbal.logger.chain.default" to "doctrine.dbal.default_connection.configuration".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "doctrine.dbal.logger" to "doctrine.dbal.logger.chain.default".
......@@ -273,8 +273,8 @@ Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inl
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "doctrine.orm.default_entity_manager.metadata_factory" to "doctrine.orm.default_entity_manager.property_info_extractor".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "sensio_framework_extra.security.expression_language.default" to "sensio_framework_extra.security.listener".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "var_dumper.html_dumper" to "twig.extension.dump".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "ceeb71ee1ffad65a4f95d6734ee0eb3fd0b0e73941b0401b877334dba6de60e9_1" to "web_profiler.csp.handler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "ceeb71ee1ffad65a4f95d6734ee0eb3fd0b0e73941b0401b877334dba6de60e9_2" to "twig.extension.webprofiler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "069aa013e1e4d9319a5f688e4505e3f33b49b0ced706a4703b07baad6d59e3a2_1" to "web_profiler.csp.handler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "069aa013e1e4d9319a5f688e4505e3f33b49b0ced706a4703b07baad6d59e3a2_2" to "twig.extension.webprofiler".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "argument_metadata_factory" to "debug.argument_resolver.inner".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "argument_resolver.request_attribute" to "debug.argument_resolver.inner".
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass: Inlined service "argument_resolver.request" to "debug.argument_resolver.inner".
......@@ -290,7 +290,7 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "argument_resolver.request"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "argument_resolver.default"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "argument_resolver.variadic"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "8ec7d4d1150411a423dd1f3aff376ca4e7b5a14b88c4524fce9f553ae5d3a341_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "ea573aa72933ab75314b48c2a80434d645b26da6732941bb86dba54a6616bb06_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "cache.serializer"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "translator.logging"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "translation.warmer"; reason: unused.
......@@ -310,8 +310,8 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "templating.cache_warmer.template_paths"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "templating.loader.cache"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "templating.loader.chain"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "f9c7e02e086386c4d866e45d7d757972916e86b3f48e0db70e9d9600f6c3719e_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "f9c7e02e086386c4d866e45d7d757972916e86b3f48e0db70e9d9600f6c3719e_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "978a8c602bc859d10002b16cd62b42c466c71d73b99eadb527e6e5adad2047f9_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "978a8c602bc859d10002b16cd62b42c466c71d73b99eadb527e6e5adad2047f9_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "validator.mapping.cache_warmer"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "validator.mapping.cache.symfony"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "validator.mapping.cache.doctrine.apc"; reason: unused.
......@@ -324,7 +324,7 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "data_collector.logger"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "data_collector.time"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "data_collector.memory"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "e8005c83d56c70554002b061cd5f62096350ee0fddfbba5160afd7296df63512_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "a87f5a28b9a6e7f93dbcf8b5bf985cc497a5494a948db845b5bd02b92438bb86_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "c66c8daa4fa4dead6a562ed2c4bdb322"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "cache.property_access"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "debug.event_dispatcher.parent"; reason: unused.
......@@ -335,8 +335,8 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "routing.loader.directory"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "routing.loader.service"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "router.cache_warmer"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "768fd9c2b52b909da36f3d207a1afd4a7b384e9ed8e930e50bf80ff2962be716_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "768fd9c2b52b909da36f3d207a1afd4a7b384e9ed8e930e50bf80ff2962be716_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "6bffd74a1041e00baa980dbe67497190fec5cb2195e3012af4fba6ad10465d4c_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "6bffd74a1041e00baa980dbe67497190fec5cb2195e3012af4fba6ad10465d4c_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "annotations.filesystem_cache"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "annotations.cache_warmer"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "annotations.cache"; reason: unused.
......@@ -400,9 +400,9 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "monolog.formatter.scalar"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "monolog.formatter.wildfire"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "monolog.formatter.logstash"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_3"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "56d95ba78e5121fcb2046d403a0aabceb447ff9757c431b097572351ec3c73b1_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_3"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "1cbd43f297593e7f4bded35d8502194aaab9a44e78fd41e05cb8e3640dd74d44_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "swiftmailer.transport.failover"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "swiftmailer.transport.mailinvoker"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "swiftmailer.transport.replacementfactory"; reason: unused.
......@@ -431,8 +431,8 @@ Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Remo
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "sensio_framework_extra.security.expression_language.default"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "twig.extension.dump"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "var_dumper.html_dumper"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "ceeb71ee1ffad65a4f95d6734ee0eb3fd0b0e73941b0401b877334dba6de60e9_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "ceeb71ee1ffad65a4f95d6734ee0eb3fd0b0e73941b0401b877334dba6de60e9_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "069aa013e1e4d9319a5f688e4505e3f33b49b0ced706a4703b07baad6d59e3a2_2"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "069aa013e1e4d9319a5f688e4505e3f33b49b0ced706a4703b07baad6d59e3a2_1"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "twig.extension.webprofiler"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "debug.controller_resolver.inner"; reason: unused.
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass: Removed service "debug.argument_resolver.inner"; reason: unused.
......
......@@ -37,8 +37,8 @@ class appDevDebugProjectContainerUrlGenerator extends Symfony\Component\Routing\
'_profiler_exception_css' => array ( 0 => array ( 0 => 'token', ), 1 => array ( '_controller' => 'web_profiler.controller.exception:cssAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/exception.css', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler', ), ), 4 => array ( ), 5 => array ( ),),
'_twig_error_test' => array ( 0 => array ( 0 => 'code', 1 => '_format', ), 1 => array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html', ), 2 => array ( 'code' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '.', 2 => '[^/]++', 3 => '_format', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'code', ), 2 => array ( 0 => 'text', 1 => '/_error', ), ), 4 => array ( ), 5 => array ( ),),
'homepage' => array ( 0 => array ( ), 1 => array ( '_controller' => 'AppBundle\\Controller\\DefaultController::indexAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/', ), ), 4 => array ( ), 5 => array ( ),),
'galerie' => array ( 0 => array ( ), 1 => array ( '_controller' => 'AppBundle\\Controller\\GalerieController::indexAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/galerie/', ), ), 4 => array ( ), 5 => array ( ),),
'galerie-evenement' => array ( 0 => array ( ), 1 => array ( '_controller' => 'AppBundle\\Controller\\GalerieController::showAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/galerie/evenement', ), ), 4 => array ( ), 5 => array ( ),),
'galerie' => array ( 0 => array ( ), 1 => array ( '_controller' => 'AppBundle\\Controller\\GalerieController::listAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/galerie/', ), ), 4 => array ( ), 5 => array ( ),),
'galerie_photos' => array ( 0 => array ( 0 => 'evenement', 1 => 'annee', ), 1 => array ( '_controller' => 'AppBundle\\Controller\\GalerieController::showAction', ), 2 => array ( 'annee' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'annee', ), 2 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'evenement', ), 3 => array ( 0 => 'text', 1 => '/galerie', ), ), 4 => array ( ), 5 => array ( ),),
);
}
}
......
a:8:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":67:{s:59:"/home/ecral/workspace/CNinno2k16/app/config/routing_dev.yml";}i:1;C:46:"Symfony\Component\Config\Resource\FileResource":134:{s:125:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/wdt.xml";}i:2;C:46:"Symfony\Component\Config\Resource\FileResource":139:{s:130:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.xml";}i:3;C:46:"Symfony\Component\Config\Resource\FileResource":130:{s:121:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/config/routing/errors.xml";}i:4;C:46:"Symfony\Component\Config\Resource\FileResource":63:{s:55:"/home/ecral/workspace/CNinno2k16/app/config/routing.yml";}i:5;C:51:"Symfony\Component\Config\Resource\DirectoryResource":94:{a:2:{i:0;s:57:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller";i:1;s:8:"/\.php$/";}}i:6;C:46:"Symfony\Component\Config\Resource\FileResource":87:{s:79:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller/DefaultController.php";}i:7;C:46:"Symfony\Component\Config\Resource\FileResource":87:{s:79:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller/GalerieController.php";}}
\ No newline at end of file
a:8:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":63:{s:55:"C:\wamp64\bin\php\CNinno2k16\app\config\routing_dev.yml";}i:1;C:46:"Symfony\Component\Config\Resource\FileResource":130:{s:121:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\WebProfilerBundle\Resources\config\routing\wdt.xml";}i:2;C:46:"Symfony\Component\Config\Resource\FileResource":135:{s:126:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\WebProfilerBundle\Resources\config\routing\profiler.xml";}i:3;C:46:"Symfony\Component\Config\Resource\FileResource":126:{s:117:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\Resources\config\routing\errors.xml";}i:4;C:46:"Symfony\Component\Config\Resource\FileResource":59:{s:51:"C:\wamp64\bin\php\CNinno2k16\app\config\routing.yml";}i:5;C:51:"Symfony\Component\Config\Resource\DirectoryResource":90:{a:2:{i:0;s:53:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller";i:1;s:8:"/\.php$/";}}i:6;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller\DefaultController.php";}i:7;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller\GalerieController.php";}}
\ No newline at end of file
......@@ -121,12 +121,16 @@ class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBund
return $this->redirect($pathinfo.'/', 'galerie');
}
return array ( '_controller' => 'AppBundle\\Controller\\GalerieController::indexAction', '_route' => 'galerie',);
return array ( '_controller' => 'AppBundle\\Controller\\GalerieController::listAction', '_route' => 'galerie',);
}
// galerie-evenement
if ($pathinfo === '/galerie/evenement') {
return array ( '_controller' => 'AppBundle\\Controller\\GalerieController::showAction', '_route' => 'galerie-evenement',);
// galerie_photos
if (preg_match('#^/galerie/(?P<evenement>[^/]++)/(?P<annee>\\d+)/?$#s', $pathinfo, $matches)) {
if (substr($pathinfo, -1) !== '/') {
return $this->redirect($pathinfo.'/', 'galerie_photos');
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'galerie_photos')), array ( '_controller' => 'AppBundle\\Controller\\GalerieController::showAction',));
}
}
......
a:8:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":67:{s:59:"/home/ecral/workspace/CNinno2k16/app/config/routing_dev.yml";}i:1;C:46:"Symfony\Component\Config\Resource\FileResource":134:{s:125:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/wdt.xml";}i:2;C:46:"Symfony\Component\Config\Resource\FileResource":139:{s:130:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.xml";}i:3;C:46:"Symfony\Component\Config\Resource\FileResource":130:{s:121:"/home/ecral/workspace/CNinno2k16/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/config/routing/errors.xml";}i:4;C:46:"Symfony\Component\Config\Resource\FileResource":63:{s:55:"/home/ecral/workspace/CNinno2k16/app/config/routing.yml";}i:5;C:51:"Symfony\Component\Config\Resource\DirectoryResource":94:{a:2:{i:0;s:57:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller";i:1;s:8:"/\.php$/";}}i:6;C:46:"Symfony\Component\Config\Resource\FileResource":87:{s:79:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller/DefaultController.php";}i:7;C:46:"Symfony\Component\Config\Resource\FileResource":87:{s:79:"/home/ecral/workspace/CNinno2k16/src/AppBundle/Controller/GalerieController.php";}}
\ No newline at end of file
a:8:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":63:{s:55:"C:\wamp64\bin\php\CNinno2k16\app\config\routing_dev.yml";}i:1;C:46:"Symfony\Component\Config\Resource\FileResource":130:{s:121:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\WebProfilerBundle\Resources\config\routing\wdt.xml";}i:2;C:46:"Symfony\Component\Config\Resource\FileResource":135:{s:126:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\WebProfilerBundle\Resources\config\routing\profiler.xml";}i:3;C:46:"Symfony\Component\Config\Resource\FileResource":126:{s:117:"C:\wamp64\bin\php\CNinno2k16\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\Resources\config\routing\errors.xml";}i:4;C:46:"Symfony\Component\Config\Resource\FileResource":59:{s:51:"C:\wamp64\bin\php\CNinno2k16\app\config\routing.yml";}i:5;C:51:"Symfony\Component\Config\Resource\DirectoryResource":90:{a:2:{i:0;s:53:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller";i:1;s:8:"/\.php$/";}}i:6;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller\DefaultController.php";}i:7;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"C:\wamp64\bin\php\CNinno2k16\src\AppBundle\Controller\GalerieController.php";}}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<?php return array (
0 => 9223372036854775807,
1 => 1484152528,
);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment