I'm trying, within a classe
, to create a property that will be populated by an array.
The problem is that the second index of this array depends on the value of the first one and would like to concatenate.
private $site = array (
"dominio" => "site.com.br",
"www" => "www.".->dominio,
How to do this?