Kraken\Runtime\Command\Command::__construct PHP Метод

__construct() публичный Метод

public __construct ( mixed[] $context = [] )
$context mixed[]
    public function __construct($context = [])
    {
        if (!isset($context['runtime']) || !$context['runtime'] instanceof RuntimeContainerInterface) {
            throw new InstantiationException('Command did not get expected RuntimeContainerInterface.');
        }
        $this->runtime = $context['runtime'];
        $this->context = $context;
        $this->construct();
    }