Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labelabeille
server
Commits
6f7dd108
Commit
6f7dd108
authored
May 07, 2016
by
wilhelmhb
Browse files
services for the bundle
parent
0b61dd5f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/ApiBundle/Resources/config/services.xml
0 → 100755
View file @
6f7dd108
<?xml version="1.0" ?>
<container
xmlns=
"http://symfony.com/schema/dic/services"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"
>
<!--
<services>
<service id="user.example" class="ApiBundle\Example">
<argument type="service" id="service_id" />
<argument>plain_value</argument>
<argument>%parameter_name%</argument>
</service>
</services>
-->
<parameters>
<parameter
key=
"api.age.handler.class"
>
ApiBundle\Entity\AgeHandler
</parameter>
<parameter
key=
"api.age.class"
>
ApiBundle\Entity\Age
</parameter>
</parameters>
<services>
<service
id=
"acme_blog.page.handler"
class=
"%api.age.handler.class%"
>
<argument
type=
"service"
id=
"doctrine.orm.entity_manager"
/>
<argument>
%api.age.class%
</argument>
<argument
type=
"service"
id=
"form.factory"
></argument>
</service>
</services>
</container>
src/ApiBundle/Resources/config/services.yml
0 → 100755
View file @
6f7dd108
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment