IControl::create()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
1
<?php
2
/**
3
 * IControl.php
4
 *
5
 * @copyright      More in license.md
6
 * @license        https://www.ipublikuj.eu
7
 * @author         Adam Kadlec <[email protected]>
8
 * @package        iPublikuj:ConfirmationDialog!
9
 * @subpackage     Components
10
 * @since          1.0.0
11
 *
12
 * @date           12.03.14
13
 */
14
15
declare(strict_types = 1);
16
17
namespace IPub\ConfirmationDialog\Components;
18
19
/**
20
 * Dialog control factory
21
 *
22
 * @package        iPublikuj:ConfirmationDialog!
23
 * @subpackage     Components
24
 *
25
 * @author         Adam Kadlec <[email protected]>
26
 */
27 1
interface IControl
28
{
29
	/**
30
	 * @param string|NULL $layoutFile
31
	 * @param string|NULL $templateFile
32
	 *
33
	 * @return Control
34
	 */
35
	public function create(?string $layoutFile = NULL, ?string $templateFile = NULL) : Control;
36
}
37