You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
695 B
34 lines
695 B
![]()
13 years ago
|
<?php
|
||
|
|
||
|
namespace Entity\Repository;
|
||
|
use \db;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @license see /license.txt
|
||
|
* @author autogenerated
|
||
|
*/
|
||
|
class BlogTaskRepository extends \EntityRepository
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @return \Entity\Repository\BlogTaskRepository
|
||
|
*/
|
||
|
public static function instance(){
|
||
|
static $result = false;
|
||
|
if($result === false){
|
||
|
$result = db::instance()->get_repository('\Entity\BlogTask');
|
||
|
}
|
||
|
return $result;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @param EntityManager $em The EntityManager to use.
|
||
|
* @param ClassMetadata $class The class descriptor.
|
||
|
*/
|
||
|
public function __construct($em, $class){
|
||
|
parent::__construct($em, $class);
|
||
|
}
|
||
|
|
||
|
}
|