public function directive($name, callable $handler) { $this->_directives[$name] = $handler; return $this; }