public function __construct($context = [])
{
$this->context = $context;
$this->construct();
}
/** * @param mixed[] $context * @throws InstantiationException */ public function __construct($context = []) { if (!isset($context['runtime'])) { throw new InstantiationException('[' . __CLASS__ . '] could not been initialized.'); } $this->runtime = $context['runtime']; unset($context['runtime']); parent::__construct($context); }