Represents an invokable command.
- author Yonel Ceruto
- internal
CloneableInstantiable
| Methods |
| public __construct(Symfony |
| public __invoke(Symfony Invokes a callable with parameters generated from the input interface. |
| public configure(Symfony Configures the input definition from an invokable-defined function. Processes the parameters of the reflection function to extract and add arguments or options to the provided input definition. |
| public getCode() : callable |
| public getSubscribedSignals() : array |
| public handleSignal(int $signal, int|false $previousExitCode = 0) : int|false |
| public interact(Symfony |
| public isInteractive() : bool |
| Properties |
| private $code = NULL |
| private readonly Symfony |
private ?array $interactions = NULL
|
| private readonly ReflectionFunction $invokable |
| private readonly ?Symfony |
| private bool $triggerDeprecations = false |
| Methods |
| private collectInteractions() : void |
| private getClosure(callable $code) : Closure |
| private getParameters(ReflectionFunction $function, Symfony |