diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Entity')
-rw-r--r-- | src/Wallabag/ApiBundle/Entity/Client.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/ApiBundle/Entity/Client.php b/src/Wallabag/ApiBundle/Entity/Client.php index 92b2f762..f7898ac8 100644 --- a/src/Wallabag/ApiBundle/Entity/Client.php +++ b/src/Wallabag/ApiBundle/Entity/Client.php | |||
@@ -30,6 +30,11 @@ class Client extends BaseClient | |||
30 | */ | 30 | */ |
31 | protected $refreshTokens; | 31 | protected $refreshTokens; |
32 | 32 | ||
33 | /** | ||
34 | * @ORM\OneToMany(targetEntity="AccessToken", mappedBy="client", cascade={"remove"}) | ||
35 | */ | ||
36 | protected $accessTokens; | ||
37 | |||
33 | public function __construct() | 38 | public function __construct() |
34 | { | 39 | { |
35 | parent::__construct(); | 40 | parent::__construct(); |