mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-03 08:09:25 +03:00
29 lines
842 B
YAML
29 lines
842 B
YAML
framework:
|
|
secret: test
|
|
csrf_protection:
|
|
enabled: true
|
|
router: { resource: "%kernel.root_dir%/config/routing.yml" }
|
|
validation: { enabled: true, enable_annotations: true }
|
|
form: ~
|
|
test: ~
|
|
default_locale: en
|
|
session:
|
|
storage_id: session.storage.mock_file
|
|
profiler: { only_exceptions: false }
|
|
templating: { engines: ['twig'] }
|
|
|
|
# Twig Configuration
|
|
twig:
|
|
debug: %kernel.debug%
|
|
strict_variables: %kernel.debug%
|
|
|
|
services:
|
|
nemlio.test.controller:
|
|
class: Nelmio\ApiDocBundle\Tests\Fixtures\Controller\TestServiceController
|
|
nelmio.test.type:
|
|
class: Nelmio\ApiDocBundle\Tests\Fixtures\Form\DependencyType
|
|
arguments:
|
|
- [foo, bar]
|
|
tags:
|
|
- { name: form.type, alias: dependency_type }
|