Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus::isThereAnyProduct PHP Метод

isThereAnyProduct() защищенный Метод

Checks if there is any product on the store.
protected isThereAnyProduct ( ) : boolean
Результат boolean
    protected function isThereAnyProduct()
    {
        $enabledProduct = $this->productRepository->findOneBy(['enabled' => true]);
        return $enabledProduct instanceof ProductInterface;
    }