Completed
Push — master ( 7e9231...419bd7 )
by Guillaume
15:48
created

CampagneManager::getPostOptionResolver()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 16
Code Lines 9

Duplication

Lines 16
Ratio 100 %

Importance

Changes 0
Metric Value
dl 16
loc 16
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 9
nc 2
nop 1
1
<?php
2
3
namespace Starkerxp\CampagneBundle\Manager;
4
5
use Starkerxp\CampagneBundle\Entity\Campagne;
6
use Starkerxp\StructureBundle\Entity\Entity;
7
use Starkerxp\StructureBundle\Manager\AbstractManager;
8
9
class CampagneManager extends AbstractManager
10
{
11
    public function getSupport(Entity $object)
12
    {
13
        return $object instanceof Campagne;
14
    }
15
16
17
}
18