StrategyAbstract   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Mokka\Strategy;
4
5
use Mokka\Config\Logger;
6
use Mokka\Exchange\ExchangeInterface;
7
8
abstract class StrategyAbstract
9
{
10
11
    /**
12
     * @var ExchangeInterface
13
     */
14
    protected $exchange;
15
    protected $options;
16
    protected $logger;
17
18
    public function __construct(
19
        ExchangeInterface $exchange,
20
        Logger $logger,
21
        $options
22
    )
23
    {
24
        $this->exchange = $exchange;
25
        $this->logger = $logger;
26
        $this->options = $options;
27
    }
28
}