public function __construct($pattern, array $defaults = array()) { $this->setPath($pattern); $this->setDefaults($defaults); }