Skip to content

Commit b7cd807

Browse files
committed
put #1113 into this PR
1 parent 46e4046 commit b7cd807

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Resources/doc/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,17 +192,17 @@ class User extends BaseUser
192192
**c) CouchDB User class**
193193

194194
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
196196
this to start:
197197

198198
``` php
199199
<?php
200200
// src/Acme/UserBundle/Document/User.php
201201

202-
namespace Acme\UserBundle\Document;
202+
namespace Acme\UserBundle\CouchDocument;
203203

204204
use FOS\UserBundle\Model\User as BaseUser;
205-
use Doctrine\ODM\CouchDB\Mapping as CouchDB;
205+
use Doctrine\ODM\CouchDB\Mapping\Annotations as CouchDB;
206206

207207
/**
208208
* @CouchDB\Document

0 commit comments

Comments
 (0)