Metabor\Event\Dispatcher::removeCommand PHP Метод

removeCommand() защищенный Метод

protected removeCommand ( callable $command, array $arguments )
$command callable
$arguments array
    protected function removeCommand($command, array $arguments)
    {
        $key = array_search(array($command, $arguments), $this->commands);
        if ($key !== false) {
            unset($this->commands[$key]);
        }
    }