diff --git a/Resources/doc/index.md b/Resources/doc/index.md
index d080aa89..2884537a 100644
--- a/Resources/doc/index.md
+++ b/Resources/doc/index.md
@@ -359,20 +359,15 @@ namespace Acme\ApiBundle\Document;
use FOS\OAuthServerBundle\Document\AccessToken as BaseAccessToken;
use FOS\OAuthServerBundle\Model\ClientInterface;
+/**
+ * @method User getUser()
+ * @method Client getClient()
+ */
class AccessToken extends BaseAccessToken
{
protected $id;
protected $client;
-
- public function getClient()
- {
- return $this->client;
- }
-
- public function setClient(ClientInterface $client)
- {
- $this->client = $client;
- }
+ protected $user;
}
```
@@ -387,6 +382,7 @@ class AccessToken extends BaseAccessToken
+
@@ -402,20 +398,15 @@ namespace Acme\ApiBundle\Document;
use FOS\OAuthServerBundle\Document\RefreshToken as BaseRefreshToken;
use FOS\OAuthServerBundle\Model\ClientInterface;
+/**
+ * @method User getUser()
+ * @method Client getClient()
+ */
class RefreshToken extends BaseRefreshToken
{
protected $id;
protected $client;
-
- public function getClient()
- {
- return $this->client;
- }
-
- public function setClient(ClientInterface $client)
- {
- $this->client = $client;
- }
+ protected $user;
}
```
@@ -430,6 +421,7 @@ class RefreshToken extends BaseRefreshToken
+