Elcodi\Store\CoreBundle\Behat\Context::theStoreIsEnabled PHP Method

theStoreIsEnabled() public method

public theStoreIsEnabled ( $enabled = true )
    public function theStoreIsEnabled($enabled = true)
    {
        $store = $this->getContainer()->get('elcodi.store');
        $store->setEnabled($enabled);
        $this->getContainer()->get('elcodi.object_manager.store')->flush($store);
    }