PHP 클래스 Sonata\Component\Basket\BasketBuilder

상속: implements Sonata\Component\Basket\BasketBuilderInterface
파일 보기 프로젝트 열기: sonata-project/ecommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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