public function setOptions($options) { parent::setOptions($options); if (isset($this->options['target_class'])) { $this->setTargetClass($this->options['target_class']); } }
/** * @return mixed */ public function getListedValue() { $value = new \DateTime(parent::getListedValue()); return $value->format($this->getFormat()); }