Exemplo n.º 1
0
 /**
  *
  *
  * @return \DateTime
  */
 public function getRecordedAt()
 {
     $posted = $this->getMeta('timestamp');
     if (!$posted) {
         return parent::getPostedAt();
     }
     return new \DateTime($posted);
 }
Exemplo n.º 2
0
 /**
  *
  *
  * @return \DateTime
  */
 public function getTime()
 {
     $timestamp = $this->getMeta('timestamp');
     if (!$timestamp) {
         return parent::getPostedAt();
     }
     return new \DateTime($timestamp);
 }