Skip to content

Commit

Permalink
Add CourseManager and CourseRepository classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed May 12, 2015
1 parent e967983 commit 8682e0d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/Chamilo/CoreBundle/Entity/Manager/CourseManager.php
@@ -0,0 +1,17 @@
<?php
/* For licensing terms, see /license.txt */

namespace Chamilo\CoreBundle\Entity\Manager;

use Sonata\CoreBundle\Model\BaseEntityManager;

/**
* Class CourseManager
* CRUD for the course
*
* @package Chamilo\CoreBundle\Entity\Repository
*/
class CourseManager extends BaseEntityManager
{

}
Expand Up @@ -4,13 +4,13 @@
namespace Chamilo\CoreBundle\Entity\Repository;

use Chamilo\CoreBundle\Entity\Course;
use Chamilo\UserBundle\Entity\User;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\QueryBuilder;

/**
* Class CourseRepository
* The functions inside this class must return an instance of QueryBuilder
*
* @package Chamilo\CoreBundle\Entity\Repository
*/
class CourseRepository extends EntityRepository
Expand Down

0 comments on commit 8682e0d

Please sign in to comment.