protected getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
Результат | Sonata\Component\Customer\CustomerInterface |
protected function getCustomer()
{
$user = $this->getUser();
return $this->getCustomerManager()->findOneBy(array('user' => $user));
}