Example #1
0
 /**
  * Finds and returns list of attributes associated with selected product by it's ID.
  *
  * @param $productId int Product ID.
  *
  * @return array List of attributes attached to selected product.
  */
 public function getAttributes($productId)
 {
     return $this->factory->getAttributes($productId);
 }