File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 11
11
use Zend \View \Model \ViewModel ;
12
12
13
13
/**
14
- * Class Navigation
15
- *
14
+ * Class Navigation builds the navigation view
16
15
*/
17
16
class Navigation extends AbstractActionController
18
17
{
@@ -38,6 +37,8 @@ public function __construct(NavModel $navigation)
38
37
}
39
38
40
39
/**
40
+ * Set values for the index action
41
+ *
41
42
* @return JsonModel
42
43
*/
43
44
public function indexAction ()
@@ -51,6 +52,8 @@ public function indexAction()
51
52
}
52
53
53
54
/**
55
+ * Set values for the view action
56
+ *
54
57
* @return array|ViewModel
55
58
*/
56
59
public function menuAction ()
Original file line number Diff line number Diff line change 8
8
9
9
use Laminas \ServiceManager \ServiceLocatorInterface ;
10
10
11
+ /**
12
+ * Class Navigation implements the data model for the navigation menu
13
+ *
14
+ * @package Magento\Setup\Model
15
+ */
11
16
class Navigation
12
17
{
13
18
/**
@@ -41,6 +46,8 @@ public function __construct(ServiceLocatorInterface $serviceLocator)
41
46
}
42
47
43
48
/**
49
+ * Type getter method
50
+ *
44
51
* @return string
45
52
*/
46
53
public function getType ()
@@ -49,6 +56,8 @@ public function getType()
49
56
}
50
57
51
58
/**
59
+ * Data getter method
60
+ *
52
61
* @return array
53
62
*/
54
63
public function getData ()
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ class NavigationTest extends \PHPUnit\Framework\TestCase
22
22
*/
23
23
private $ controller ;
24
24
25
-
26
25
/**
27
26
* @var \Magento\Setup\Model\ObjectManagerProvider|\PHPUnit\Framework\MockObject\MockObject
28
27
*/
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
7
+ // @codingStandardsIgnoreFile
8
+
6
9
?>
7
10
<?= $ this ->doctype () ?>
8
11
<!--[if !IE]><!-->
You can’t perform that action at this time.
0 commit comments