Sonata\ProductBundle\Entity\BaseProduct::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( )
    public function __construct()
    {
        $this->packages = new ArrayCollection();
        $this->deliveries = new ArrayCollection();
        $this->productCategories = new ArrayCollection();
        $this->productCollections = new ArrayCollection();
        $this->variations = new ArrayCollection();
        $this->enabledVariations = new ArrayCollection();
    }