For my knowledge I will know what are the major difference between
$this->_data
and
$this->data
if they could show by example the approach. Thank you.
.
For my knowledge I will know what are the major difference between
$this->_data
and
$this->data
if they could show by example the approach. Thank you.
.
There is no actual difference. It's just a common practice to prefix private properties with an underline for clarity inside the classes.