eZ\Publish\Core\REST\Common\Input\Dispatcher::addHandler PHP Method

addHandler() public method

Adds another handler for the given Content Type.
public addHandler ( string $type, Handler $handler )
$type string
$handler Handler
    public function addHandler($type, Handler $handler)
    {
        $this->handlers[$type] = $handler;
    }