8000 Remove 'acme' by ifdattic · Pull Request #4881 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Remove 'acme' #4881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add app. prefix to service id
  • Loading branch information
ifdattic committed Jan 20, 2015
commit 8abbd3fb06b1cc6c9d22d43045b1f370971ff2fc
6 changes: 3 additions & 3 deletions cookbook/form/dynamic_form_modification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ it with :ref:`dic-tags-form-type`.

# app/config/config.yml
services:
form.friend_message:
app.form.friend_message:
class: AppBundle\Form\Type\FriendMessageFormType
arguments: ["@security.context"]
tags:
Expand All @@ -399,7 +399,7 @@ it with :ref:`dic-tags-form-type`.

<!-- app/config/config.xml -->
<services>
<service id="form.friend_message" class="AppBundle\Form\Type\FriendMessageFormType">
<service id="app.form.friend_message" class="AppBundle\Form\Type\FriendMessageFormType">
<argument type="service" id="security.context" />
<tag name="form.type" alias="friend_message" />
</service>
Expand All @@ -411,7 +411,7 @@ it with :ref:`dic-tags-form-type`.
$definition = new Definition('AppBundle\Form\Type\FriendMessageFormType');
$definition->addTag('form.type', array('alias' => 'friend_message'));
$container->setDefinition(
'form.friend_message',
'app.form.friend_message',
$definition,
array('security.context')
);
Expand Down
0