public function valid($value = null)
    {
        // si la valeur n'ets pas null, on la set
        if (!is_null($value)) {
            $value = (is_string($value)) ? trim($value) : $value;
            if ($this->hasFilterer()) {
                $value = $this->getFilterer()->filter($value);
            }
            $this->setValue($value);
        }

        $this->getValidator()->valid($this->getValue());

        return $this;
    }