Property | Type | Description | |
---|---|---|---|
$adminMenuFactory | |||
$adminMenuRepository | WellCommerce\Bundle\AdminBundle\Repository\AdminMenuRepositoryInterface | ||
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, |
Constructor | |
import ( $file, Symfony\Component\Config\FileLocatorInterface $locator ) |
Method | Description | |
---|---|---|
addMenuItem ( SimpleXMLElement $item ) | Creates new admin menu item | |
importItems ( DOMDocument $xml ) | Parses DOM element and adds it as an admin menu item | |
parseFile ( string $file ) : DOMDocument | Parses a XML file |
public __construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, |
||
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | |
$adminMenuFactory | ||
$adminMenuRepository | WellCommerce\Bundle\AdminBundle\Repository\AdminMenuRepositoryInterface |
protected addMenuItem ( SimpleXMLElement $item ) | ||
$item | SimpleXMLElement |
public import ( $file, Symfony\Component\Config\FileLocatorInterface $locator ) | ||
$locator | Symfony\Component\Config\FileLocatorInterface |
protected importItems ( DOMDocument $xml ) | ||
$xml | DOMDocument |
protected AdminMenuFactory,WellCommerce\Bundle\AdminBundle\Factory $adminMenuFactory | ||
return |
protected AdminMenuRepositoryInterface,WellCommerce\Bundle\AdminBundle\Repository $adminMenuRepository | ||
return | WellCommerce\Bundle\AdminBundle\Repository\AdminMenuRepositoryInterface |