aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2015-10-26 10:55:35 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-02 23:24:17 +0100
commit87f23b005c5f68f7463333a74317efa4eb9a9565 (patch)
treec7065b05ff87162420f80dcb94ebdd65093d2cb2 /src/Wallabag/UserBundle
parentd51b38ed309c9aead938e8c8963c05c6d82b4ec2 (diff)
downloadwallabag-87f23b005c5f68f7463333a74317efa4eb9a9565.tar.gz
wallabag-87f23b005c5f68f7463333a74317efa4eb9a9565.tar.zst
wallabag-87f23b005c5f68f7463333a74317efa4eb9a9565.zip
assign tags to entries and add lastPocketImport attribute to user
Diffstat (limited to 'src/Wallabag/UserBundle')
-rw-r--r--src/Wallabag/UserBundle/Entity/User.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php
index e6528420..4851999f 100644
--- a/src/Wallabag/UserBundle/Entity/User.php
+++ b/src/Wallabag/UserBundle/Entity/User.php
@@ -84,6 +84,13 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
84 */ 84 */
85 private $trusted; 85 private $trusted;
86 86
87 /**
88 * @var date
89 *
90 * @ORM\Column(name="last_pocket_import", type="datetime", nullable=true)
91 */
92 private $lastPocketImport;
93
87 public function __construct() 94 public function __construct()
88 { 95 {
89 parent::__construct(); 96 parent::__construct();
@@ -240,4 +247,20 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
240 247
241 return false; 248 return false;
242 } 249 }
250
251 /**
252 * @return date
253 */
254 public function getLastPocketImport()
255 {
256 return $this->lastPocketImport;
257 }
258
259 /**
260 * @param date $lastPocketImport
261 */
262 public function setLastPocketImport($lastPocketImport)
263 {
264 $this->lastPocketImport = $lastPocketImport;
265 }
243} 266}