Method | Description | |
---|---|---|
create ( string $name, string $callable, mixed $parent ) | Create a new CompositeCommand (or Subcommand if class has __invoke()) |
Method | Description | |
---|---|---|
create_composite_command ( mixed $parent, string $name, mixed $callable ) | Create a new Composite command instance. | |
create_subcommand ( mixed $parent, string $name, mixed $callable, object $reflection ) | Create a new Subcommand instance. | |
is_good_method ( ReflectionMethod $method ) : boolean | Check whether a method is actually callable. |