I am wondering how to push values in an associative array without having to brute force it. October is using $this for the variable to be used in the markup page but I don't know how to add values into an associative array with $this. Does anyone know how to do it?
$this->some_array['something'] = ['some_key' => 'some data'];
I tried this:
$this->div_content['title'] = $row->value;
but I'm getting this error:
Indirect modification of overloaded property Cms555e933ac8fd3_2455129006Class::$div_content has no effect
1-3 of 3