]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/SiteCredential.php
Enable PHPStan
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / SiteCredential.php
index ac714359d6b817b5fc7a901ae84dc1e85cac52e6..dee48fd52982efd20f709f1cbce92edfe12f4de8 100644 (file)
@@ -59,6 +59,13 @@ class SiteCredential
      */
     private $createdAt;
 
+    /**
+     * @var \DateTime
+     *
+     * @ORM\Column(name="updated_at", type="datetime")
+     */
+    private $updatedAt;
+
     /**
      * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="siteCredentials")
      */
@@ -178,6 +185,16 @@ class SiteCredential
         return $this->createdAt;
     }
 
+    /**
+     * Get updatedAt.
+     *
+     * @return \DateTime
+     */
+    public function getUpdatedAt()
+    {
+        return $this->updatedAt;
+    }
+
     /**
      * @return User
      */