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

cfg_field_base   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 21
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A get_template() 0 3 1
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