hidev
hidev copied to clipboard
how to pass extra data to templates?
I can't find any options there vendor/hiqdev/hidev/src/handlers/TemplateHandler.php
public function prepareData($data)
{
return array_merge([
'app' => Yii::$app,
'config' => Yii::$app, /// DEPRECATED
'file' => $data->file,
'handler' => $this,
], parent::prepareData($data));
}