getId() public method

Returns the id of the product.
public getId ( ) : integer
return integer
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  *
  * @VirtualProperty
  */
 public function getId()
 {
     return $this->entity->getId();
 }
Exemplo n.º 2
0
 private function createResourceItem(Account $account)
 {
     return new ArrayAccessItem($account->getId(), $this->serialize($account), $account);
 }