PHP 인터페이스 Sonata\Component\Basket\BasketFactoryInterface

파일 보기 프로젝트 열기: sonata-project/ecommerce 0 사용 예제들

공개 메소드들

메소드 설명
load ( Sonata\Component\Customer\CustomerInterface $customer ) : Sonata\Component\Basket\BasketInterface Load the basket.
reset ( Sonata\Component\Basket\BasketInterface $basket, boolean $full = true ) Resets the basket.
save ( Sonata\Component\Basket\BasketInterface $basket ) Save the basket.

메소드 상세

load() 공개 메소드

Load the basket.
public load ( Sonata\Component\Customer\CustomerInterface $customer ) : Sonata\Component\Basket\BasketInterface
$customer Sonata\Component\Customer\CustomerInterface
리턴 Sonata\Component\Basket\BasketInterface

reset() 공개 메소드

Resets the basket.
public reset ( Sonata\Component\Basket\BasketInterface $basket, boolean $full = true )
$basket Sonata\Component\Basket\BasketInterface
$full boolean

save() 공개 메소드

Save the basket.
public save ( Sonata\Component\Basket\BasketInterface $basket )
$basket Sonata\Component\Basket\BasketInterface