mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding accessor method.
This commit is contained in:
parent
dc9a05d49c
commit
49006b2bbb
1 changed files with 9 additions and 0 deletions
|
@ -320,6 +320,15 @@ class ConsoleOptionParser {
|
|||
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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue