Exemple #1
0
 /**
  * @param int $idCategoryNode
  *
  * @return \Generated\Shared\Transfer\UrlTransfer[]
  */
 public function getResourceUrlCollectionByCategoryNodeId($idCategoryNode)
 {
     $urlEntityCollection = $this->urlQueryContainer->queryResourceUrlByCategoryNodeId($idCategoryNode)->find();
     $urlTransferCollection = [];
     foreach ($urlEntityCollection as $urlEntity) {
         $urlTransferCollection[] = $this->convertUrlEntityToTransfer($urlEntity);
     }
     return $urlTransferCollection;
 }