public function __construct($property1, $anotherProperty = '') { $this->property1 = $property1; $this->property3 = $anotherProperty; }