예제 #1
0
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->fabrics = new ArrayCollection();
     $this->myNewField = rand();
 }
 public function __construct()
 {
     parent::__construct();
     $this->fabrics = new ArrayCollection();
     $this->brands = new ArrayCollection();
 }