PHP Class WellCommerce\Bundle\ShopBundle\Twig\Extension\ShopExtension

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Afficher le fichier Open project: wellcommerce/wellcommerce

Protected Properties

Свойство Type Description
$shopDataset WellCommerce\Component\DataSet\DataSetInterface
$shopStorage WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface

Méthodes publiques

Méthode Description
__construct ( WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface $shopStorage, WellCommerce\Component\DataSet\DataSetInterface $shopDataset ) ShopExtension constructor.
getCurrentShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
getFunctions ( )
getName ( )
getShops ( ) : array

Method Details

__construct() public méthode

ShopExtension constructor.
public __construct ( WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface $shopStorage, WellCommerce\Component\DataSet\DataSetInterface $shopDataset )
$shopStorage WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface
$shopDataset WellCommerce\Component\DataSet\DataSetInterface

getCurrentShop() public méthode

public getCurrentShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
Résultat WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getFunctions() public méthode

public getFunctions ( )

getName() public méthode

public getName ( )

getShops() public méthode

public getShops ( ) : array
Résultat array

Property Details

$shopDataset protected_oe property

protected DataSetInterface,WellCommerce\Component\DataSet $shopDataset
Résultat WellCommerce\Component\DataSet\DataSetInterface

$shopStorage protected_oe property

protected ShopStorageInterface,WellCommerce\Bundle\ShopBundle\Storage $shopStorage
Résultat WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface