Completed
Push — master ( 2137d2...4a0d68 )
by Aimeos
10:40
created

Flow::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2015-2016
6
 * @package MW
7
 * @subpackage View
8
 */
9
10
11
namespace Aimeos\MW\View\Helper\Response;
12
13
14
/**
15
 * View helper class for accessing response data from Flow
16
 *
17
 * @package MW
18
 * @subpackage View
19
 */
20
class Flow
21
	extends \Aimeos\MW\View\Helper\Response\Standard
0 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
Coding Style introduced by
Expected 0 spaces between "Standard" and comma; 1 found
Loading history...
22
	implements \Aimeos\MW\View\Helper\Response\Iface
0 ignored issues
show
Coding Style introduced by
The implements keyword must be on the same line as the class name
Loading history...
23
{
24
	/**
25
	 * Initializes the response view helper.
26
	 *
27
	 * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers
28
	 */
29
	public function __construct( \Aimeos\MW\View\Iface $view )
30
	{
31
		\Aimeos\MW\View\Helper\Base::__construct( $view, new \Zend\Diactoros\Response() );
32
	}
33
}
34