/** * Dispatches the given option or store the option to dispatch it later. * * @param Console_CommandLine_Option $option The option instance * @param string $token Command line token to parse * @param Console_CommandLine_Result $result The result instance * * @return void */ private function _dispatchAction($option, $token, $result) { if ($option->action == 'Password') { $this->_dispatchLater[] = array($option, $token, $result); } else { $option->dispatchAction($token, $result, $this); } }
/** * Dispatches the given option or store the option to dispatch it later. * * @param Console_CommandLine_Option $option The option instance * @param string $token Command line token to parse * @param Console_CommandLine_Result $result The result instance * * @return void */ private function _dispatchAction($option, $token, $result) { //var_dump($token); $option->dispatchAction($token, $result, $this); }