StateHelper
class StateHelper (View source)
Methods
static State
injectIntoCallbackObject(callable|object $callback, InputInterface $input, OutputInterface|null $output = null)
Inject $input and $output into the command instance if it is set up to receive them.
static State
inject($target, InputInterface $input, OutputInterface|null $output = null)
Inject $input and $output into the command instance if it is set up to receive them.
restore()
No description
Details
static State
injectIntoCallbackObject(callable|object $callback, InputInterface $input, OutputInterface|null $output = null)
Inject $input and $output into the command instance if it is set up to receive them.
static State
inject($target, InputInterface $input, OutputInterface|null $output = null)
Inject $input and $output into the command instance if it is set up to receive them.
restore()
No description