ContextRepositoryInterface::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: marek
5
 * Date: 10.12.15
6
 * Time: 09:57.
7
 */
8
namespace Madkom\RegistryApplication\Domain\CarManagement\Behat;
9
10
use Madkom\RegistryApplication\Infrastructure\CarManagement\CarInMemoryRepository;
11
12
abstract class ContextRepositoryInterface
13
{
14
    /** @var \Madkom\RegistryApplication\Infrastructure\CarManagement\CarInMemoryRepository */
15
    public static $carRepository;
16
17
    /**
18
     * ContextRepositoryInterface constructor.
19
     */
20
    public function __construct()
21
    {
22
        /* @var  \Madkom\RegistryApplication\Infrastructure\CarManagement\CarInMemoryRepository */
23
        self::$carRepository = new CarInMemoryRepository();
24
    }
25
}
26