Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New layout
[airbundle]
/
Resources
/
config
/
packages
/
rapsys_air.yaml
diff --git
a/Resources/config/packages/rapsys_air.yaml
b/Resources/config/packages/rapsys_air.yaml
index a7fe3b82e7b9bb8773b302806980579948af6bc8..13025637cab18d8ed95e8071d017f8788abc5e6c 100644
(file)
--- a/
Resources/config/packages/rapsys_air.yaml
+++ b/
Resources/config/packages/rapsys_air.yaml
@@
-16,6
+16,10
@@
rapsys_user:
group: 'Rapsys\AirBundle\Entity\Group'
title: 'Rapsys\AirBundle\Entity\Title'
user: 'Rapsys\AirBundle\Entity\User'
group: 'Rapsys\AirBundle\Entity\Group'
title: 'Rapsys\AirBundle\Entity\Title'
user: 'Rapsys\AirBundle\Entity\User'
+ #Default replacement
+ default:
+ group: [ 'User' ]
+ title: 'Mister'
#Route replacement
route:
index:
#Route replacement
route:
index:
@@
-221,27
+225,27
@@
services:
tags: [ 'twig.extension' ]
#Register default controller
Rapsys\AirBundle\Controller\DefaultController:
tags: [ 'twig.extension' ]
#Register default controller
Rapsys\AirBundle\Controller\DefaultController:
- arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+ arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
tags: [ 'controller.service_arguments' ]
#Register location controller
Rapsys\AirBundle\Controller\LocationController:
tags: [ 'controller.service_arguments' ]
#Register location controller
Rapsys\AirBundle\Controller\LocationController:
- arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+ arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
tags: [ 'controller.service_arguments' ]
#Register session controller
Rapsys\AirBundle\Controller\SessionController:
tags: [ 'controller.service_arguments' ]
#Register session controller
Rapsys\AirBundle\Controller\SessionController:
- arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+ arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
tags: [ 'controller.service_arguments' ]
#Register application controller
Rapsys\AirBundle\Controller\ApplicationController:
tags: [ 'controller.service_arguments' ]
#Register application controller
Rapsys\AirBundle\Controller\ApplicationController:
- arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+ arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
tags: [ 'controller.service_arguments' ]
#Register user controller
Rapsys\AirBundle\Controller\UserController:
tags: [ 'controller.service_arguments' ]
#Register user controller
Rapsys\AirBundle\Controller\UserController:
- arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+ arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
tags: [ 'controller.service_arguments' ]
#Register error controller
# Rapsys\AirBundle\Controller\ErrorController:
tags: [ 'controller.service_arguments' ]
#Register error controller
# Rapsys\AirBundle\Controller\ErrorController:
-# arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ]
+# arguments: [ '@service_container', '@router', '@rapsys
_user
.slugger', '@translator' ]
# tags: [ 'controller.service_arguments' ]
#Register locale event subscriber
Rapsys\AirBundle\EventSubscriber\LocaleSubscriber:
# tags: [ 'controller.service_arguments' ]
#Register locale event subscriber
Rapsys\AirBundle\EventSubscriber\LocaleSubscriber:
@@
-259,7
+263,7
@@
services:
#Replace assets packages
assets.packages:
class: 'Symfony\Component\Asset\Packages'
#Replace assets packages
assets.packages:
class: 'Symfony\Component\Asset\Packages'
- arguments: [ '@rapsys.path_package' ]
+ arguments: [ '@rapsys
_pack
.path_package' ]
# #Set version strategy
# assets.static_version_strategy:
# class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
# #Set version strategy
# assets.static_version_strategy:
# class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
@@
-267,6
+271,12
@@
services:
Rapsys\AirBundle\Form\ApplicationType:
arguments: [ '@doctrine', '@translator' ]
tags: [ 'form.type' ]
Rapsys\AirBundle\Form\ApplicationType:
arguments: [ '@doctrine', '@translator' ]
tags: [ 'form.type' ]
+ Rapsys\AirBundle\Command\AttributeCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\WeatherCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
#Twig Configuration
twig:
#Twig Configuration
twig: