getCustomerId() public méthode

public getCustomerId ( ) : integer
Résultat integer
 /**
  * {@inheritdoc}
  */
 public function save(BasketInterface $basket)
 {
     if ($basket->getCustomerId()) {
         $this->basketManager->save($basket);
     } else {
         $this->session->set(BasketSessionFactory::SESSION_BASE_NAME . 'new', $basket);
     }
 }
 /**
  * {@inheritdoc}
  */
 public function reset(BasketInterface $basket, $full = true)
 {
     if ($full && $basket->getCustomerId()) {
         $this->basketManager->delete($basket);
     } else {
         $basket->reset($full);
         $this->save($basket);
     }
 }