Passed
Push — develop ( b3eda6...9f2d35 )
by Daniel
03:59 queued 40s
created

cfg_field_base::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
/**
4
 *
5
 * @package sitemaker
6
 * @copyright (c) 2019 Daniel A. (blitze)
7
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
8
 *
9
 */
10
11
namespace blitze\sitemaker\services\blocks\config\fields;
12
13
/**
14
 * @package sitemaker
15
 */
16
abstract class cfg_field_base implements cfg_field_interface
17
{
18
	/** @var \phpbb\language\language */
19
	protected $translator;
20
21
	/**
22
	 * Constructor
23
	 *
24
	 * @param \phpbb\language\language		$translator		Language object
25
	 */
26
	public function __construct(\phpbb\language\language $translator)
27
	{
28
		$this->translator = $translator;
29
	}
30
31
	/**
32
	 * {@inheritdoc}
33
	 */
34
	public function get_template()
35
	{
36
		return '';
37
	}
38
}
39