Completed
Branch master (d2c4e1)
by
unknown
09:55 queued 07:09
created

HelperAbstract::__construct()   A

Complexity

Conditions 1
Paths 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 4
Code Lines 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Redaxscript\Template\Helper;
3
4
use Redaxscript\Registry;
5
6
/**
7
 * abstract class to create a helper class
8
 *
9
 * @since 3.0.0
10
 *
11
 * @package Redaxscript
12
 * @category Template
13
 * @author Henry Ruhs
14
 */
15
16
abstract class HelperAbstract
17
{
18
	/**
19
	 * instance of the registry class
20
	 *
21
	 * @var object
22
	 */
23
24
	protected $_registry;
25
26
	/**
27
	 * constructor of the class
28
	 *
29
	 * @since 3.0.0
30
	 *
31
	 * @param Registry $registry instance of the registry class
32
	 */
33
34
	public function __construct(Registry $registry)
35
	{
36
		$this->_registry = $registry;
37
	}
38
}