public function createdAtTimestamp($value) { if ($value instanceof UTCDateTime || $value instanceof MongoUTCDateTime) { return $value; } return $this->updatedAtTimestamp(null); }