Test Setup Failed
Push — master ( 584547...730ac2 )
by Alexey
14:04
created

UserRenameEventRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A add() 0 4 1
1
<?php
2
3
namespace Skobkin\Bundle\PointToolsBundle\Repository;
4
5
use Doctrine\ORM\EntityRepository;
6
use Skobkin\Bundle\PointToolsBundle\Entity\UserRenameEvent;
7
8
class UserRenameEventRepository extends EntityRepository
9
{
10
    public function add(UserRenameEvent $event)
11
    {
12
        $this->getEntityManager()->persist($event);
13
    }
14
}