1 | <?php |
||
11 | class AccessTokenRepository implements AccessTokenRepositoryInterface |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function revokeAccessToken($tokenId) |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function isAccessTokenRevoked($tokenId) |
||
67 | |||
68 | /** |
||
69 | * Find the Token for passed id. |
||
70 | * |
||
71 | * @param mixed $tokenId The id of the token. |
||
72 | * |
||
73 | * @return AccessTokenModel |
||
74 | */ |
||
75 | public function findToken($tokenId) |
||
79 | } |
||
80 |
Since your code implements the magic setter
_set
, this function will be called for any write access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.Since the property has write access only, you can use the @property-write annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.