public getProductProductcollectionsAction ( $id ) : Sonata\Component\Product\ProductCollectionInterface[] | ||
$id | ||
return | Sonata\Component\Product\ProductCollectionInterface[] |
public function getProductProductcollectionsAction($id)
{
return $this->getProduct($id)->getProductCollections();
}