/**
  * {@inheritdoc}
  */
 public function display(Definition $definition)
 {
     if (!$this->isNull()) {
         return $this->boolean ? 'Oui' : 'Non';
     }
     return parent::display($definition);
 }
 /**
  * {@inheritdoc}
  */
 public function display(Definition $definition)
 {
     if (!$this->isNull()) {
         return $this->datetime->format($definition->getFormat());
     }
     return parent::display($definition);
 }