public function removeProcessor(callable $processor)
    {
        $res = array_search($processor, $this->processors, true);
        if ($res !== false) {
            unset($this->processors[$res]);
        }

        return $this;
    }