|
|
@@ -35,10 +35,13 @@ trait ViewVarsTrait
|
|
|
public $viewClass;
|
|
|
|
|
|
/**
|
|
|
- * Variables for the view
|
|
|
+ * Variables for the view.
|
|
|
+ *
|
|
|
+ * Deprecated: This property will be removed in 4.x.
|
|
|
+ * Inside controller context use `$this->set()` instead, also see `$this->viewBuilder()->getVar()`.
|
|
|
+ * In view context it will be a protected property `View::$viewVars`.
|
|
|
*
|
|
|
* @var array
|
|
|
- * @deprecated 3.7.0 Use `$this->set()` instead, also see `$this->viewBuilder()->getVar()`.
|
|
|
*/
|
|
|
public $viewVars = [];
|
|
|
|