Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
| TagRepository | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?php | |
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <fabien@symfony.com> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ | |
| namespace Smalldb\StateMachine\Test\SymfonyDemo\Repository; | |
| use Smalldb\StateMachine\Test\SymfonyDemo\Entity\Tag; | |
| use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |
| use Doctrine\Common\Persistence\ManagerRegistry; | |
| /** | |
| * This custom Doctrine repository is empty because so far we don't need any custom | |
| * method to query for application user information. But it's always a good practice | |
| * to define a custom repository that will be used when the application grows. | |
| * | |
| * See https://symfony.com/doc/current/doctrine/repository.html | |
| * | |
| * @author Yonel Ceruto <yonelceruto@gmail.com> | |
| */ | |
| class TagRepository extends ServiceEntityRepository | |
| { | |
| public function __construct(ManagerRegistry $registry) | |
| { | |
| parent::__construct($registry, Tag::class); | |
| } | |
| } |