12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace Entity\Repository;
- use \db;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class PromotionRepository extends \EntityRepository
- {
- /**
- * @return \Entity\Repository\PromotionRepository
- */
- public static function instance(){
- static $result = false;
- if($result === false){
- $result = db::instance()->get_repository('\Entity\Promotion');
- }
- return $result;
- }
-
- /**
- *
- * @param EntityManager $em The EntityManager to use.
- * @param ClassMetadata $class The class descriptor.
- */
- public function __construct($em, $class){
- parent::__construct($em, $class);
- }
-
- }
|