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

AbstractController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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