public function addPattern($pattern)
    {
        $this->doAddPattern($this->convertPattern($pattern));
        $this->hasPattern = true;
    }
public function addPattern($pattern)
    {
        $this->doAddPattern($this->convertPattern($pattern));
        $this->hasPattern = true;
    }
public function addPattern ( $ pattern ) { $ this -> doAddPattern ( $ this -> convertPattern ( $ pattern ) ) ; $ this -> hasPattern = true ; }
Adds an ignore pattern.

@param string $pattern The pattern
Adds an ignore pattern .