/** * @param int $idCategory * * @return \Orm\Zed\Category\Persistence\SpyCategoryNode[]|\Propel\Runtime\Collection\ObjectCollection */ public function getMainNodesByIdCategory($idCategory) { return $this->queryContainer->queryMainNodesByCategoryId($idCategory)->find(); }