示例#1
0
 /**
  * @since 0.1
  *
  * {@inheritDoc}
  */
 public function setOption($name, $value)
 {
     if ($this->tokenizer !== null) {
         $this->tokenizer->setOption($name, $value);
     }
     if ($name === self::REGEX_EXEMPTION) {
         $this->patternExemption = $value;
     }
 }
示例#2
0
 /**
  * @since 0.1
  *
  * {@inheritDoc}
  */
 public function setOption($name, $value)
 {
     if ($this->tokenizer !== null) {
         $this->tokenizer->setOption($name, $value);
     }
 }