프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$customerManager | Sonata\Component\Customer\CustomerManagerInterface | ||
$locale | string | ||
$securityContext | Symfony\Component\Security\Core\SecurityContextInterface | ||
$session | Symfony\Component\HttpFoundation\Session\Session |
메소드 | 설명 | |
---|---|---|
__construct ( CustomerManagerInterface $customerManager, Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Security\Core\SecurityContextInterface $securityContext, Sonata\IntlBundle\Locale\LocaleDetectorInterface $localeDetector ) | ||
get ( ) : Sonata\Component\Customer\CustomerInterface | Get the customer. |
메소드 | 설명 | |
---|---|---|
getBasket ( ) : Sonata\Component\Basket\BasketInterface |
public __construct ( CustomerManagerInterface $customerManager, Symfony\Component\HttpFoundation\Session\SessionInterface $session, Symfony\Component\Security\Core\SecurityContextInterface $securityContext, Sonata\IntlBundle\Locale\LocaleDetectorInterface $localeDetector ) | ||
$customerManager | CustomerManagerInterface | |
$session | Symfony\Component\HttpFoundation\Session\SessionInterface | |
$securityContext | Symfony\Component\Security\Core\SecurityContextInterface | |
$localeDetector | Sonata\IntlBundle\Locale\LocaleDetectorInterface |
public get ( ) : Sonata\Component\Customer\CustomerInterface | ||
리턴 | Sonata\Component\Customer\CustomerInterface |
protected CustomerManagerInterface,Sonata\Component\Customer $customerManager | ||
리턴 | Sonata\Component\Customer\CustomerManagerInterface |
protected SecurityContextInterface,Symfony\Component\Security\Core $securityContext | ||
리턴 | Symfony\Component\Security\Core\SecurityContextInterface |