From b6f921bfbb15b77bb0dfd1c1834d2562e947efe7 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Wed, 30 Jul 2014 20:28:33 +0200 Subject: [PATCH] Reworded bundle requirement --- cookbook/security/entity_provider.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index 80e0b08270b..50783171908 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -25,8 +25,14 @@ Finally, the tutorial will demonstrate how to create a custom :class:`Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider` object to retrieve users from a database with custom conditions. -This tutorial assumes there is a bootstrapped and loaded -``Acme\UserBundle`` bundle in the application kernel. +.. sidebar:: Code along with the Example + + If you want to follow along with the example in this chapter, create + an AcmeUserBundle via: + + .. code-block:: bash + + $ php app/console generate:bundle --namespace=Acme/UserBundle The Data Model --------------