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

Flow   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 14
rs 10

1 Method

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