/**
  * {@inheritDoc}
  */
 public function getProduct()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProduct', array());
     return parent::getProduct();
 }
Example #2
0
 /**
  * Get column value for 'product' column
  *
  * @param \XLite\Module\XC\Reviews\Model\Review $entity Review
  *
  * @return string
  */
 protected function getProductColumnValue(\XLite\Module\XC\Reviews\Model\Review $entity)
 {
     return $entity->getProduct()->getName();
 }