/** * {@inheritdoc} */ public function toArray() { $this->validateConstraint(); return ['constraint' => $this->constraint] + parent::toArray(); }
/** * {@inheritdoc} */ public function extractForColumn($model) { return $this->reference->simplify(parent::extract($model)); }