PHP Class Sylius\Bundle\CoreBundle\Templating\Helper\ProductVariantsPricesHelper

Author: Mateusz Zalewski ([email protected])
Inheritance: extends Symfony\Component\Templating\Helper\Helper
Afficher le fichier Open project: sylius/sylius Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface $productVariantsPricesProvider )
getName ( )
getPrices ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Core\Model\ChannelInterface $channel ) : array

Method Details

__construct() public méthode

public __construct ( Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface $productVariantsPricesProvider )
$productVariantsPricesProvider Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface

getName() public méthode

public getName ( )

getPrices() public méthode

public getPrices ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Core\Model\ChannelInterface $channel ) : array
$product Sylius\Component\Core\Model\ProductInterface
$channel Sylius\Component\Core\Model\ChannelInterface
Résultat array