Flow::__construct()   A
last analyzed

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
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2015-2018
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
22
	implements \Aimeos\MW\View\Helper\Response\Iface
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
		parent::__construct( $view, new \Zend\Diactoros\Response() );
32
	}
33
}
34