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