doughnut-wedding/app/config/services.yml

60 lines
3.0 KiB
YAML
Raw Normal View History

2017-03-29 09:24:59 -07:00
# Learn more about services, parameters and containers at
# http://symfony.com/doc/current/service_container.html
parameters:
services:
colored_line_formatter:
class: Bramus\Monolog\Formatter\ColoredLineFormatter
tags:
- { name: 'monolog.logger' }
2017-04-09 18:08:01 -07:00
doughnutwedding.form.registration:
class: Sikofitt\DoughnutWeddingBundle\Form\RegistrationType
2017-04-22 12:43:30 -07:00
arguments: ['@fos_user.user_manager']
2017-04-09 18:08:01 -07:00
tags:
2017-04-22 12:43:30 -07:00
- { name: form.type, alias: app_user_registration }
2017-04-25 15:45:32 -07:00
doughnutwedding.form.profile:
class: Sikofitt\DoughnutWeddingBundle\Form\ProfileEditType
arguments: ['@fos_user.user_manager']
tags:
- { name: form.type, alias: app_user_profile_edit }
2017-04-22 12:43:30 -07:00
doughnutwedding.event.redirect_user_logged_in_event:
class: Sikofitt\DoughnutWeddingBundle\EventListener\UserRedirectOnLoggedInListener
arguments: ['@security.token_storage', '@router']
tags:
- { name: kernel.event_listener, event: kernel.request }
2017-05-05 22:49:54 -07:00
doughnutwedding.event.redirect_from_hwi_connect_page:
class: Sikofitt\DoughnutWeddingBundle\EventListener\RedirectFromHwiConnectPageEvent
arguments: ['@router', '@service_container']
tags:
- { name: kernel.event_listener, event: kernel.request }
2017-04-22 12:43:30 -07:00
doughnutwedding.event.redirect_user_after_register_event:
class: Sikofitt\DoughnutWeddingBundle\EventListener\RedirectOnUserRegisterListener
2017-04-26 21:32:43 -07:00
arguments: ['@service_container']
2017-04-22 12:43:30 -07:00
tags:
2017-04-22 20:58:42 -07:00
- { name: kernel.event_listener, event: fos_user.registration.completed }
2017-05-05 22:49:54 -07:00
- { name: kernel.event_listener, event: security.interactive_login }
2017-04-22 20:58:42 -07:00
doughnutwedding.google_cloud_storage.service:
class: \Google_Service_Storage
factory: ['Sikofitt\DoughnutWeddingBundle\Factory\GoogleCloudStorageServiceFactory', createGoogleCloudService]
arguments: ['%google.credentials_file%', '%google.client_id%', '%google.application_name%']
2017-04-26 21:32:43 -07:00
doughnutwedding.event.check_email_on_reset_event:
class: Sikofitt\DoughnutWeddingBundle\EventListener\CheckThatEmailAndUserNameExistOnResetRequest
arguments: ['@router', '@templating.engine.twig']
tags:
- { name: kernel.event_listener, event: fos_user.resetting.send_email.initialize }
doughnutwedding.event.need_to_authenticate_listener_event:
class: Sikofitt\DoughnutWeddingBundle\EventListener\NeedToAuthenticateListenerEvent
tags:
- { name: kernel.event_listener, event: kernel.response }
doughnutwedding.security.access_denied_handler:
class: Sikofitt\DoughnutWeddingBundle\Security\AccessDeniedHandler
2017-05-05 22:49:54 -07:00
arguments: ['@router', '@monolog.logger']
doughnutwedding.uikit.template:
class: Sikofitt\DoughnutWeddingBundle\Pager\View\UIkitTemplate
pagerfanta.view.default:
class: Pagerfanta\View\DefaultView
arguments: ['@doughnutwedding.uikit.template']
public: false
tags: [{ name: pagerfanta.view, alias: default }]