SHARE
TWEET

TimestampableInterface

drestrepo Jun 30th, 2020 1,005 in 4 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. declare(strict_types=1);
  3.  
  4. namespace App\Entity\Traits;
  5.  
  6.  
  7. interface TimestampableInterface
  8. {
  9.     /**
  10.      * @return \DateTime
  11.      */
  12.     public function getCreatedAt() : \DateTime;
  13.  
  14.     /**
  15.      * @return \DateTime
  16.      */
  17.     public function getUpdatedAt() : \DateTime;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top