public function __construct($pattern, $callback, $methods, $pass) { $this->pattern = $pattern; $this->callback = $callback; $this->methods = $methods; $this->pass = $pass; }