PHP Class WellCommerce\Bundle\ShippingBundle\Provider\ShippingMethodProvider

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

Méthodes publiques

Méthode Description
__construct ( WellCommerce\Bundle\ShippingBundle\Repository\ShippingMethodRepositoryInterface $repository, Doctrine\Common\Collections\Collection $calculators ) AbstractShippingMethodProvider constructor.
getCosts ( WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface $subject ) : Doctrine\Common\Collections\Collection
getShippingMethodCosts ( WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface $method, WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface $subject ) : Doctrine\Common\Collections\Collection

Private Methods

Méthode Description
getCalculator ( WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface $shippingMethod ) : WellCommerce\Bundle\ShippingBundle\Calculator\ShippingCalculatorInterface

Method Details

__construct() public méthode

AbstractShippingMethodProvider constructor.
public __construct ( WellCommerce\Bundle\ShippingBundle\Repository\ShippingMethodRepositoryInterface $repository, Doctrine\Common\Collections\Collection $calculators )
$repository WellCommerce\Bundle\ShippingBundle\Repository\ShippingMethodRepositoryInterface
$calculators Doctrine\Common\Collections\Collection

getCosts() public méthode

public getCosts ( WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface $subject ) : Doctrine\Common\Collections\Collection
$subject WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface
Résultat Doctrine\Common\Collections\Collection

getShippingMethodCosts() public méthode

public getShippingMethodCosts ( WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface $method, WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface $subject ) : Doctrine\Common\Collections\Collection
$method WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface
$subject WellCommerce\Bundle\ShippingBundle\Calculator\ShippingSubjectInterface
Résultat Doctrine\Common\Collections\Collection