Example #1
0
 /**
  * Overrides parent reconfigure method. Additionally it
  * removes extra slashes from the compiled pattern.
  * 
  * @see parent::reConfigure
  */
 public function reConfigure($pattern, $paths = null)
 {
     parent::reConfigure($pattern, $paths);
     if ($this->removeExtraSlashes) {
         $this->_compiledPattern = rtrim($this->_compiledPattern, '/') ?: '/';
     }
 }