setVarName($varName); $this->setValue($value); } /** * @inheritDoc */ public function parse ($args) { if($args[0] == $this->getValue()) return new ParseResult($this->getValue(), 1); return null; } /** * @inheritDoc */ public function getValueDescription () { return '"'.$this->getValue().'"'; } /** * La valeur. * * @return string La valeur. * * @see $_value */ public function getValue() { return $this->_value; } /** * Définit la valeur * * @param string $value La valeur * * @return $this * @see $_value */ public function setValue($value) { $this->_value = $value; return $this; } }