izzum\statemachine\State::getCommand PHP Метод

getCommand() защищенный Метод

the Command will be configured with the domain model via dependency injection
protected getCommand ( string $command_name, Context $context ) : izzum\command\ICommand
$command_name string entry or exit command name
$context Context
Результат izzum\command\ICommand
    protected function getCommand($command_name, Context $context)
    {
        return Utils::getCommand($command_name, $context);
    }