Private
Public Access
1
0

chg: dev: refactor classes and reformat some layout #3

This commit is contained in:
2019-10-27 18:51:03 +01:00
parent c909c036a3
commit 8355cc90ed
17 changed files with 265 additions and 48 deletions

View File

@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository;
@@ -7,13 +15,18 @@ use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
/**
* @method Gamer|null find($id, $lockMode = null, $lockVersion = null)
* @method Gamer|null findOneBy(array $criteria, array $orderBy = null)
* @method Gamer[] findAll()
* @method Gamer[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
* Class GamerRepository
*
* @package App\Repository
* @author system7 <https://www.splendidbear.org>
*/
class GamerRepository extends ServiceEntityRepository
{
/**
* GamerRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Gamer::class);

View File

@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository;
@@ -7,6 +15,11 @@ use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
/**
* Class GridRepository
*
* @package App\Repository
* @author system7 <https://www.splendidbear.org>
*
* @method Grid|null find($id, $lockMode = null, $lockVersion = null)
* @method Grid|null findOneBy(array $criteria, array $orderBy = null)
* @method Grid[] findAll()
@@ -14,6 +27,11 @@ use Doctrine\Common\Persistence\ManagerRegistry;
*/
class GridRepository extends ServiceEntityRepository
{
/**
* GridRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Grid::class);

View File

@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository;
@@ -7,6 +15,11 @@ use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
/**
* Class GridRowRepository
*
* @package App\Repository
* @author system7 <https://www.splendidbear.org>
*
* @method GridRow|null find($id, $lockMode = null, $lockVersion = null)
* @method GridRow|null findOneBy(array $criteria, array $orderBy = null)
* @method GridRow[] findAll()
@@ -14,6 +27,11 @@ use Doctrine\Common\Persistence\ManagerRegistry;
*/
class GridRowRepository extends ServiceEntityRepository
{
/**
* GridRowRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, GridRow::class);

View File

@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository;
@@ -7,6 +15,11 @@ use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
/**
* Class PlayedGameRepository
*
* @package App\Repository
* @author system7 <https://www.splendidbear.org>
*
* @method PlayedGame|null find($id, $lockMode = null, $lockVersion = null)
* @method PlayedGame|null findOneBy(array $criteria, array $orderBy = null)
* @method PlayedGame[] findAll()
@@ -14,6 +27,11 @@ use Doctrine\Common\Persistence\ManagerRegistry;
*/
class PlayedGameRepository extends ServiceEntityRepository
{
/**
* PlayedGameRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PlayedGame::class);

View File

@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2019 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository;
@@ -7,6 +15,11 @@ use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
/**
* Class StepRepository
*
* @package App\Repository
* @author system7 <https://www.splendidbear.org>
*
* @method Step|null find($id, $lockMode = null, $lockVersion = null)
* @method Step|null findOneBy(array $criteria, array $orderBy = null)
* @method Step[] findAll()
@@ -14,6 +27,11 @@ use Doctrine\Common\Persistence\ManagerRegistry;
*/
class StepRepository extends ServiceEntityRepository
{
/**
* StepRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Step::class);