public function removeHook($command, $callable)
    {
        if (isset($this->hooks[$command]) &&
            array_search($callable, $this->hooks[$command]) !== false
        ) {
            $hook = array_search($callable, $this->hooks[$command]);
            unset($this->hooks[$command][$hook]);
            unset($hook);
        }
    }
public function removeHook($command, $callable)
    {
        if (isset($this->hooks[$command]) &&
            array_search($callable, $this->hooks[$command]) !== false
        ) {
            $hook = array_search($callable, $this->hooks[$command]);
            unset($this->hooks[$command][$hook]);
            unset($hook);
        }
    }
public function removeHook ( $ command , $ callable ) { if ( isset ( $ this -> hooks [ $ command ] ) && array_search ( $ callable , $ this -> hooks [ $ command ] ) !== false ) { $ hook = array_search ( $ callable , $ this -> hooks [ $ command ] ) ; unset ( $ this -> hooks [ $ command ] [ $ hook ] ) ; unset ( $ hook ) ; } }
Remove the provided Callable from the provided Hook.

@param string   $command  Hook to remove callable from
@param callable $callable The callable to be removed

@return void
Remove the provided Callable from the provided Hook .