Advertisement
Guest User

services

a guest
May 26th, 2014
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.60 KB | None | 0 0
  1. parameters:
  2.     twm_oro_crm_project.project.entity.class: Twm\OroCRM\ProjectBundle\Entity\Project
  3.     twm_oro_crm_project.projectType.class: Twm\OroCRM\ProjectBundle\Form\ProjectType
  4.     twm_oro_crm_project.handler.project.class: Twm\OroCRM\ProjectBundle\Form\Handler\ProjectHandler
  5.     twm_oro_crm_project.project.manager.api.class: Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager
  6.  
  7. services:
  8.     twm_oro_crm_project.form.project:
  9.         class:                                     Symfony\Component\Form\Form
  10.         factory_method: createNamed
  11.         factory_service: form.factory
  12.         arguments: ["twm_oro_crm_project_form", "twm_oro_crm_project", null]
  13.  
  14.     twm_oro_crm_project.form.type.project:
  15.         class:                                     %twm_oro_crm_project.projectType.class%
  16.         arguments:
  17.            - @router
  18.             - @oro_locale.formatter.name
  19.         tags:
  20.             - { name: form.type, alias: twm_oro_crm_project }
  21.  
  22.     twm_oro_crm_project.form.handler.project:
  23.         class:                                     %twm_oro_crm_project.handler.project.class%
  24.         scope: request
  25.         arguments:
  26.            - @twm_oro_crm_project.form.project
  27.             - @request
  28.             - @doctrine.orm.entity_manager
  29.         tags:
  30.             - { name: oro_tag.tag_manager }
  31.  
  32.     # Project API
  33.     twm_oro_crm_project.project.manager.api:
  34.         class:                                     %twm_oro_crm_project.project.manager.api.class%
  35.         arguments:
  36.            - %twm_oro_crm_project.project.entity.class%
  37.             - @doctrine.orm.entity_manager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement