public function format($format = null) { $format = $format ?: 'Y-m-d H:i:s'; return $this->dateTime->format($format); }