Completed
Push — master ( 5dadda...07493f )
by Cesar
30s queued 10s
created

AbstractController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace App\Controller\Braintree;
4
5
use App\Service\BraintreeService;
6
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController as SymfonyAbstractController;
7
8
/**
9
 * Class AbstractController
10
 * @package App\Controller\Braintree
11
 */
12
class AbstractController extends SymfonyAbstractController
13
{
14
    /**
15
     * @var BraintreeService
16
     */
17
    protected $braintreeService;
18
19
    /**
20
     * DefaultController constructor.
21
     * @param BraintreeService $braintreeService
22
     */
23
    public function __construct(BraintreeService $braintreeService)
24
    {
25
        $this->braintreeService = $braintreeService;
26
    }
27
}
28