PHP Class WellCommerce\Bundle\OrderBundle\Provider\OrderModifierProvider

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\OrderBundle\Provider\OrderModifierProviderInterface
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
__construct ( Doctrine\Common\Collections\Collection $defaultModifiers ) OrderModifierProvider constructor.
getOrderModifier ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface

Private Methods

Méthode Description
createOrderModifier ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface
getDefaultOrderModifier ( string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface

Method Details

__construct() public méthode

OrderModifierProvider constructor.
public __construct ( Doctrine\Common\Collections\Collection $defaultModifiers )
$defaultModifiers Doctrine\Common\Collections\Collection

getOrderModifier() public méthode

public getOrderModifier ( WellCommerce\Bundle\OrderBundle\Entity\OrderInterface $order, string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface
$order WellCommerce\Bundle\OrderBundle\Entity\OrderInterface
$name string
Résultat WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface