share private value with another attribute in the same class

0

I have the following template class below:

class modelo {
  private $variavel1 = "Algum";
  private $variavel2 = $this->variavel1." Valor";
  .....
}

How to append the variable1 value to variable variable2 both of the same class?

Note: NO

Is there a way?

    
asked by anonymous 17.05.2018 / 14:32

0 answers