Completed
Push — master ( fea2cb...118c60 )
by Litera
21s
created

ProgramOverviewControl::setBlocksBayControl()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace App\Components;
4
5
use App\Components\ProgramsControl;
6
use App\Models\BlockModel;
7
8
class ProgramOverviewControl extends AProgramOverviewControl
9
{
10
11
	const TEMPLATE_NAME = 'ProgramOverview';
12
13
	/**
14
	 * @param BlocksByDayControl $control
15
	 */
16
	public function __construct(BlockModel $model, ProgramsControl $control)
17
	{
18
		$this->setBlocksBayControl(new BlocksByDayControl($model, $control));
19
	}
20
21
}
22