@@ -216,44 +216,6 @@ this to start:
216216 }
217217 }
218218
219- c) CouchDB User class
220- .....................
221-
222- .. note ::
223- Support for the CouchDB ODM is deprecated as the Doctrine CouchDB ODM is unmaintained.
224-
225- If you're persisting your users via the Doctrine CouchDB ODM, then your ``User ``
226- class should live in the ``CouchDocument `` namespace of your bundle and look
227- like this to start:
228-
229- .. code-block :: php
230-
231- <?php
232- // src/AppBundle/CouchDocument/User.php
233-
234- namespace AppBundle\CouchDocument;
235-
236- use FOS\UserBundle\Model\User as BaseUser;
237- use Doctrine\ODM\CouchDB\Mapping\Annotations as CouchDB;
238-
239- /**
240- * @CouchDB\Document
241- */
242- class User extends BaseUser
243- {
244- /**
245- * @CouchDB\Id
246- */
247- protected $id;
248-
249- public function __construct()
250- {
251- parent::__construct();
252- // your own logic
253- }
254- }
255-
256-
257219 Step 4: Configure your application's security.yml
258220~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259221
@@ -351,7 +313,7 @@ of datastore you are using.
351313
352314 # app/config/config.yml
353315 fos_user :
354- db_driver : orm # other valid values are 'mongodb', 'couchdb' and 'custom'
316+ db_driver : orm # other valid values are 'mongodb' and 'custom'
355317 firewall_name : main
356318 user_class : AppBundle\Entity\User
357319 from_email :
@@ -362,7 +324,7 @@ of datastore you are using.
362324
363325 <!-- app/config/config.xml -->
364326
365- <!-- other valid 'db-driver' values are 'mongodb', 'couchdb' and 'custom' -->
327+ <!-- other valid 'db-driver' values are 'mongodb' and 'custom' -->
366328 <fos_user : config
367329 db-driver =" orm"
368330 firewall-name =" main"
@@ -371,7 +333,7 @@ of datastore you are using.
371333
372334 Only four configuration's nodes are required to use the bundle:
373335
374- * The type of datastore you are using (``orm ``, ``mongodb ``, `` couchdb `` or ``custom` ``).
336+ * The type of datastore you are using (``orm ``, ``mongodb `` or ``custom` ``).
375337* The firewall name which you configured in Step 4.
376338* The fully qualified class name (FQCN) of the ``User `` class which you created in Step 3.
377339* The default email address to use when the bundle send a registration confirmation to the user.
0 commit comments