WellCommerce\Bundle\LayoutBundle\DataFixtures\ORM\LoadLayoutBoxData::load PHP Method

load() public method

{@inheritDoc}
public load ( Doctrine\Common\Persistence\ObjectManager $manager )
$manager Doctrine\Common\Persistence\ObjectManager
    public function load(ObjectManager $manager)
    {
        if (!$this->isEnabled()) {
            return;
        }
        $this->manager = $manager;
        $this->createCategoryBoxes();
        $this->createClientBoxes();
        $this->createProducerBoxes();
        $this->createProductStatusesBoxes();
        $this->createCheckoutBoxes();
        $this->createProductBoxes();
        $manager->flush();
    }