예제 #1
0
 public function serialize()
 {
     return array_merge(parent::serialize(), array('products' => $this->products));
 }
 /**
  * {@inheritDoc}
  */
 public function serialize()
 {
     return array_merge(parent::serialize(), array('productId' => $this->productId, 'productName' => $this->productName));
 }