1 | <?php |
||
2 | |||
3 | namespace SimpleDIC\Dummy; |
||
4 | |||
5 | class Logger |
||
6 | { |
||
7 | /** |
||
8 | * @var null |
||
9 | */ |
||
10 | private $foo; |
||
11 | |||
12 | /** |
||
13 | * Logger constructor. |
||
14 | * |
||
15 | * @param null $foo |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
16 | */ |
||
17 | public function __construct($foo = null) |
||
18 | { |
||
19 | $this->foo = $foo; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return null |
||
24 | */ |
||
25 | public function getFoo() |
||
26 | { |
||
27 | return $this->foo; |
||
28 | } |
||
29 | } |
||
30 |