TeamController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 5
Bugs 0 Features 0
Metric Value
wmc 1
c 5
b 0
f 0
lcom 0
cbo 2
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Xdaysaysay\AdminBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use Xdaysaysay\AdminBundle\FormTrait\FormTrait;
7
8
/**
9
 * Class TeamController
10
 * @package Xdaysaysay\AdminBundle\Controller
11
 */
12
class TeamController extends Controller
13
{
14
    use FormTrait;
15
16
    /**
17
     * TeamController constructor.
18
     */
19
    public function __construct()
20
    {
21
        $this->entityClassName = 'Xdaysaysay\CoreBundle\Entity\Team';
22
        $this->repositoryName = 'XdaysaysayCoreBundle:Team';
23
        $this->twigFormDirectory = 'XdaysaysayAdminBundle:Team';
24
        $this->formRoute = 'team';
25
        $this->translation = 'team';
26
        $this->formType = 'Xdaysaysay\AdminBundle\Form\Type\TeamType';
27
    }
28
}