mirror of
https://github.com/symfony/recipes.git
synced 2026-09-18 02:26:31 +03:00
added version directories
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
|
||||
parameters:
|
||||
|
||||
services:
|
||||
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
_defaults:
|
||||
autowire: by_id
|
||||
public: false
|
||||
|
||||
_instanceof:
|
||||
Symfony\Component\Console\Command\Command:
|
||||
tags: ['console.command']
|
||||
public: true
|
||||
|
||||
Twig_ExtensionInterface:
|
||||
tags: ['twig.extension']
|
||||
|
||||
Symfony\Component\EventDispatcher\EventSubscriberInterface:
|
||||
tags: ['kernel.event_subscriber']
|
||||
|
||||
Symfony\Component\Form\FormTypeInterface:
|
||||
tags: ['form.type']
|
||||
|
||||
Symfony\Component\Security\Core\Authorization\VoterInterface:
|
||||
tags: ['security.voter']
|
||||
|
||||
App\:
|
||||
resource: '../../src/{Command,Form,EventSubscriber,Twig,Voter}'
|
||||
|
||||
App\Controller\:
|
||||
resource: '../../src/Controller'
|
||||
public: true
|
||||
tags: ['controller.service_arguments']
|
||||
@@ -0,0 +1,3 @@
|
||||
framework:
|
||||
router:
|
||||
strict_requirements: true
|
||||
@@ -0,0 +1,18 @@
|
||||
framework:
|
||||
secret: "%env(APP_SECRET)%"
|
||||
#default_locale: en
|
||||
#csrf_protection: null
|
||||
#http_method_override: true
|
||||
#trusted_hosts: null
|
||||
#trusted_proxies: null
|
||||
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
|
||||
#session:
|
||||
# handler_id: session.handler.native_file
|
||||
# save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
|
||||
#],
|
||||
#esi: ~
|
||||
#fragments: ~
|
||||
php_errors:
|
||||
log: true
|
||||
router:
|
||||
strict_requirements: null
|
||||
@@ -0,0 +1,4 @@
|
||||
framework:
|
||||
test: null
|
||||
session:
|
||||
storage_id: session.storage.mock_file
|
||||
@@ -0,0 +1,8 @@
|
||||
#index:
|
||||
# path: /
|
||||
# defaults: { _controller: "App\\Controller\\SomeController::index" }
|
||||
|
||||
# if annotations are enabled
|
||||
#controllers:
|
||||
# resource: ../src/Controller/
|
||||
# type: annotation
|
||||
Reference in New Issue
Block a user