File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,17 +192,17 @@ class User extends BaseUser
192
192
** c) CouchDB User class**
193
193
194
194
If you're persisting your users via the Doctrine CouchDB ODM, then your ` User `
195
- class should live in the ` Document ` namespace of your bundle and look like
195
+ class should live in the ` CouchDocument ` namespace of your bundle and look like
196
196
this to start:
197
197
198
198
``` php
199
199
<?php
200
200
// src/Acme/UserBundle/Document/User.php
201
201
202
- namespace Acme\UserBundle\Document ;
202
+ namespace Acme\UserBundle\CouchDocument ;
203
203
204
204
use FOS\UserBundle\Model\User as BaseUser;
205
- use Doctrine\ODM\CouchDB\Mapping as CouchDB;
205
+ use Doctrine\ODM\CouchDB\Mapping\Annotations as CouchDB;
206
206
207
207
/**
208
208
* @CouchDB\Document
You can’t perform that action at this time.
0 commit comments