PHP Класс Sonata\Component\Basket\BasketBuilder

Наследование: implements Sonata\Component\Basket\BasketBuilderInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$addressManager Sonata\Component\Customer\AddressManagerInterface
$deliveryPool Sonata\Component\Delivery\Pool
$paymentPool Sonata\Component\Payment\Pool
$productPool Sonata\Component\Product\Pool

Открытые методы

Метод Описание
__construct ( Pool $productPool, Sonata\Component\Customer\AddressManagerInterface $addressManager, Pool $deliveryPool, Pool $paymentPool )
build ( Sonata\Component\Basket\BasketInterface $basket ) Build a basket.

Описание методов

__construct() публичный Метод

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() публичный Метод

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

Описание свойств

$addressManager защищенное свойство

protected AddressManagerInterface,Sonata\Component\Customer $addressManager
Результат Sonata\Component\Customer\AddressManagerInterface

$deliveryPool защищенное свойство

protected Pool,Sonata\Component\Delivery $deliveryPool
Результат Sonata\Component\Delivery\Pool

$paymentPool защищенное свойство

protected Pool,Sonata\Component\Payment $paymentPool
Результат Sonata\Component\Payment\Pool

$productPool защищенное свойство

protected Pool,Sonata\Component\Product $productPool
Результат Sonata\Component\Product\Pool