ContextRepositoryInterface   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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