Passed
Push — preview-1.19.0 ( 2aee7c...a81967 )
by Guilherme
04:14
created

PersonController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A connectNfgFragmentAction() 0 7 1
1
<?php
2
/*
3
 * This file is part of the login-cidadao project or it's bundles.
4
 *
5
 * (c) Guilherme Donato <guilhermednt on github>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace PROCERGS\LoginCidadao\CoreBundle\Controller;
12
13
use PROCERGS\LoginCidadao\CoreBundle\Helper\MeuRSHelper;
14
use LoginCidadao\CoreBundle\Controller\PersonController as BaseController;
15
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
16
17
class PersonController extends BaseController
18
{
19
    /**
20
     * @Template()
21
     */
22
    public function connectNfgFragmentAction()
23
    {
24
        /** @var MeuRSHelper $helper */
25
        $helper = $this->get('meurs.helper');
26
        $personMeuRS = $helper->getPersonMeuRS($this->getUser(), true);
27
28
        return compact('personMeuRS');
29
    }
30
}
31