<?php

namespace Korobi\WebBundle\Repository;

use Doctrine\ODM\MongoDB\DocumentRepository;

class ChannelRepository extends DocumentRepository {

    /**
     * @param $network
     * @return mixed
     */
    public function findAllByNetwork($network) {
        return $this->createQueryBuilder()
            ->sort('name', 'ASC')
            ->field('network')->equals($network)
            ->getQuery()
            ->execute();
    }
}

<?php

namespace Korobi\WebBundle\Repository;

use Doctrine\ODM\MongoDB\DocumentRepository;

class ChannelConfigRepository extends DocumentRepository {

}

--- 
+++ 
@@ -4,6 +4,17 @@
 
 use Doctrine\ODM\MongoDB\DocumentRepository;
 
-class ChannelConfigRepository extends DocumentRepository {
+class ChannelRepository extends DocumentRepository {
 
+    /**
+     * @param $network
+     * @return mixed
+     */
+    public function findAllByNetwork($network) {
+        return $this->createQueryBuilder()
+            ->sort('name', 'ASC')
+            ->field('network')->equals($network)
+            ->getQuery()
+            ->execute();
+    }
 }
Fix repository name, add helper funcion
