PHP Class Sonata\Component\Basket\BasketBuilder

Inheritance: implements Sonata\Component\Basket\BasketBuilderInterface
Afficher le fichier Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Свойство Type Description
$addressManager Sonata\Component\Customer\AddressManagerInterface
$deliveryPool Sonata\Component\Delivery\Pool
$paymentPool Sonata\Component\Payment\Pool
$productPool Sonata\Component\Product\Pool

Méthodes publiques

Méthode Description
__construct ( Pool $productPool, Sonata\Component\Customer\AddressManagerInterface $addressManager, Pool $deliveryPool, Pool $paymentPool )
build ( Sonata\Component\Basket\BasketInterface $basket ) Build a basket.

Method Details

__construct() public méthode

public __construct ( Pool $productPool, Sonata\Component\Customer\AddressManagerInterface $addressManager, Pool $deliveryPool, Pool $paymentPool )
$productPool Sonata\Component\Product\Pool
$addressManager Sonata\Component\Customer\AddressManagerInterface
$deliveryPool Sonata\Component\Delivery\Pool
$paymentPool Sonata\Component\Payment\Pool

build() public méthode

Build a basket.
public build ( Sonata\Component\Basket\BasketInterface $basket )
$basket Sonata\Component\Basket\BasketInterface

Property Details

$addressManager protected_oe property

protected AddressManagerInterface,Sonata\Component\Customer $addressManager
Résultat Sonata\Component\Customer\AddressManagerInterface

$deliveryPool protected_oe property

protected Pool,Sonata\Component\Delivery $deliveryPool
Résultat Sonata\Component\Delivery\Pool

$paymentPool protected_oe property

protected Pool,Sonata\Component\Payment $paymentPool
Résultat Sonata\Component\Payment\Pool

$productPool protected_oe property

protected Pool,Sonata\Component\Product $productPool
Résultat Sonata\Component\Product\Pool