/** * 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(); }