Completed
Push — master ( a0c467...7d26e1 )
by Tomáš
05:50
created

SomeController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Symplify\ControllerAutowire\Tests\HttpKernel\Controller\ControllerFinderSource;
4
5
class SomeController
6
{
7
    /**
8
     * @var SomeService
9
     */
10
    private $someService;
11
12
    public function __construct(SomeService $someService)
13
    {
14
        $this->someService = $someService;
15
    }
16
17
    /**
18
     * @return SomeService
19
     */
20
    public function getSomeService()
21
    {
22
        return $this->someService;
23
    }
24
}
25