/** * Constructor * * @param array $data Entity properties OPTIONAL */ public function __construct(array $data = array()) { parent::__construct(); if (!empty($data)) { $this->map($data); } }
/** * Public class constructor * * @return void */ public function __construct() { parent::__construct(); }