Ejemplo n.º 1
0
 /**
  * The default constructor.
  *
  * @param \TechDivision\Properties\Properties $defaults The properties we want want to use for intialization
  *
  * @return void
  */
 public function __construct(Properties $defaults = null)
 {
     // check if properties are passed
     if ($defaults != null) {
         // if yes set them
         parent::__construct($defaults->toArray());
     } else {
         parent::__construct();
     }
 }