Total Complexity | 4 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class AmountDataRequest implements BuilderInterface |
||
21 | { |
||
22 | /** |
||
23 | * Amount block name. |
||
24 | */ |
||
25 | public const AMOUNT = 'amount'; |
||
26 | |||
27 | /** |
||
28 | * @var SubjectReader |
||
29 | */ |
||
30 | protected $subjectReader; |
||
31 | |||
32 | /** |
||
33 | * @var Config |
||
34 | */ |
||
35 | protected $config; |
||
36 | |||
37 | /** |
||
38 | * @param SubjectReader $subjectReader |
||
39 | * @param Config $config |
||
40 | */ |
||
41 | public function __construct( |
||
42 | SubjectReader $subjectReader, |
||
43 | Config $config |
||
44 | ) { |
||
45 | $this->subjectReader = $subjectReader; |
||
46 | $this->config = $config; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Build. |
||
51 | * |
||
52 | * @param array $buildSubject |
||
53 | */ |
||
54 | public function build(array $buildSubject) |
||
73 | } |
||
74 | } |
||
75 |