IFormFactory::create()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 1
ccs 0
cts 0
cp 0
1
<?php
2
/**
3
 * IFormFactory.php
4
 *
5
 * @copyright      More in license.md
6
 * @license        https://www.ipublikuj.eu
7
 * @author         Adam Kadlec <[email protected]>
8
 * @package        iPublikuj:Forms!
9
 * @subpackage     common
10
 * @since          1.0.0
11
 *
12
 * @date           31.01.14
13
 */
14
15
declare(strict_types = 1);
16
17
namespace IPub\Forms;
18
19
use Nette\Application;
20
21
/**
22
 * Form factory interface
23
 *
24
 * @package        iPublikuj:Forms!
25
 * @subpackage     common
26
 *
27
 * @author         Adam Kadlec <[email protected]>
28
 */
29 1
interface IFormFactory
30
{
31
	/**
32
	 * @param string $formClassName
33
	 * @param array ...$args
34
	 *
35
	 * @return Application\UI\Form
36
	 */
37
	function create(string $formClassName, ...$args) : Application\UI\Form;
38
}
39