Adding accessor method.

This commit is contained in:
mark_story 2010-10-10 14:51:21 -04:00
parent dc9a05d49c
commit 49006b2bbb

View file

@ -320,6 +320,15 @@ class ConsoleOptionParser {
return $this->_options; return $this->_options;
} }
/**
* Get the array of defined subcommands
*
* @return array
*/
public function subcommands() {
return $this->_subcommands;
}
/** /**
* Parse the argv array into a set of params and args. * Parse the argv array into a set of params and args.
* *