PHP 클래스 WellCommerce\Bundle\ShopBundle\Twig\Extension\ShopExtension

저자: Adam Piotrowski ([email protected])
상속: extends Twig_Extension
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$shopDataset WellCommerce\Component\DataSet\DataSetInterface
$shopStorage WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface

공개 메소드들

메소드 설명
__construct ( WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface $shopStorage, WellCommerce\Component\DataSet\DataSetInterface $shopDataset ) ShopExtension constructor.
getCurrentShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
getFunctions ( )
getName ( )
getShops ( ) : array

메소드 상세

__construct() 공개 메소드

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 getCurrentShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
리턴 WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getFunctions() 공개 메소드

public getFunctions ( )

getName() 공개 메소드

public getName ( )

getShops() 공개 메소드

public getShops ( ) : array
리턴 array

프로퍼티 상세

$shopDataset 보호되어 있는 프로퍼티

protected DataSetInterface,WellCommerce\Component\DataSet $shopDataset
리턴 WellCommerce\Component\DataSet\DataSetInterface

$shopStorage 보호되어 있는 프로퍼티

protected ShopStorageInterface,WellCommerce\Bundle\ShopBundle\Storage $shopStorage
리턴 WellCommerce\Bundle\ShopBundle\Storage\ShopStorageInterface