Sonata\Component\Basket\BasketBuilder::__construct PHP Method

__construct() public method

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
    public function __construct(Pool $productPool, AddressManagerInterface $addressManager, DeliveryPool $deliveryPool, PaymentPool $paymentPool)
    {
        $this->productPool = $productPool;
        $this->addressManager = $addressManager;
        $this->deliveryPool = $deliveryPool;
        $this->paymentPool = $paymentPool;
    }