code/command/callback/abstract.php
public function removeCommandCallback($command, $method)
    {
        $command = strtolower($command);

        if (isset($this->__command_callbacks[$command]) )
        {
            if($method instanceof \Closure) {
                $index = spl_object_hash($method);
            } else {
                $index = $method;
            }

            unset($this->__command_callbacks[$command][$index]);
        }

        return $this;
    }
public function removeCommandCallback($command, $method)
    {
        $command = strtolower($command);

        if (isset($this->__command_callbacks[$command]) )
        {
            if($method instanceof \Closure) {
                $index = spl_object_hash($method);
            } else {
                $index = $method;
            }

            unset($this->__command_callbacks[$command][$index]);
        }

        return $this;
    }
public function removeCommandCallback ( $ command , $ method ) { $ command = strtolower ( $ command ) ; if ( isset ( $ this -> __command_callbacks [ $ command ] ) ) { if ( $ method instanceof \ Closure ) { $ index = spl_object_hash ( $ method ) ; } else { $ index = $ method ; } unset ( $ this -> __command_callbacks [ $ command ] [ $ index ] ) ; } return $ this ; }
Remove a callback

@param  	string	        $command  The command to unregister the handler from
@param 	string|\Closure	$method   The name of the method or a Closure object to unregister
@return  CommandCallbackAbstract
Remove a callback