minor #27869 Replaced AppBundle mentions with App (vudaltsov)

This PR was merged into the 3.4 branch.

Discussion
----------

Replaced AppBundle mentions with App

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Removed some legacy non-test related mentions of AppBundle. Probably this should be done for 4.x only, not >=3.4.

Commits
-------

b4552373c1 AppBundle->App.
This commit is contained in:
Nicolas Grekas 2018-07-07 16:34:32 +02:00
commit f4350448e2
2 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ Suppose that you have the following security configuration in your application:
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
AppBundle\Entity\User: bcrypt
App\Entity\User: bcrypt
</comment>
If you execute the command non-interactively, the first available configured
@ -87,16 +87,16 @@ generated to encode the password:
Pass the full user class path as the second argument to encode passwords for
your own entities:
<info>php %command.full_name% --no-interaction [password] AppBundle\Entity\User</info>
<info>php %command.full_name% --no-interaction [password] App\Entity\User</info>
Executing the command interactively allows you to generate a random salt for
encoding the password:
<info>php %command.full_name% [password] AppBundle\Entity\User</info>
<info>php %command.full_name% [password] App\Entity\User</info>
In case your encoder doesn't require a salt, add the <comment>empty-salt</comment> option:
<info>php %command.full_name% --empty-salt [password] AppBundle\Entity\User</info>
<info>php %command.full_name% --empty-salt [password] App\Entity\User</info>
EOF
)

View File

@ -410,8 +410,8 @@ class MainConfiguration implements ConfigurationInterface
->children()
->arrayNode('encoders')
->example(array(
'AppBundle\Entity\User1' => 'bcrypt',
'AppBundle\Entity\User2' => array(
'App\Entity\User1' => 'bcrypt',
'App\Entity\User2' => array(
'algorithm' => 'bcrypt',
'cost' => 13,
),