Code Duplication    Length = 7-7 lines in 6 locations

src/Page/DevelopController.php 6 locations

@@ 29-35 (lines=7) @@
26
     *
27
     * @return void
28
     */
29
    public function index()
30
    {
31
        $this->di->get("view")->add("{$this->namespace}/index");
32
        $this->di->get("page")->render([
33
            "title" => "Anax development utilitites",
34
        ]);
35
    }
36
37
38
@@ 44-50 (lines=7) @@
41
     *
42
     * @return void
43
     */
44
    public function di()
45
    {
46
        $this->di->get("view")->add("{$this->namespace}/di");
47
        $this->di->get("page")->render([
48
            "title" => "Show loaded services in \$di",
49
        ]);
50
    }
51
52
53
@@ 59-65 (lines=7) @@
56
     *
57
     * @return void
58
     */
59
    public function request()
60
    {
61
        $this->di->get("view")->add("{$this->namespace}/request");
62
        $this->di->get("page")->render([
63
            "title" => "Details on current request",
64
        ]);
65
    }
66
67
68
@@ 74-80 (lines=7) @@
71
     *
72
     * @return void
73
     */
74
    public function route()
75
    {
76
        $this->di->get("view")->add("{$this->namespace}/route");
77
        $this->di->get("page")->render([
78
            "title" => "Show loaded routes",
79
        ]);
80
    }
81
82
83
@@ 89-95 (lines=7) @@
86
     *
87
     * @return void
88
     */
89
    public function session()
90
    {
91
        $this->di->get("view")->add("{$this->namespace}/session");
92
        $this->di->get("page")->render([
93
            "title" => "Show session data",
94
        ]);
95
    }
96
97
98
@@ 104-110 (lines=7) @@
101
     *
102
     * @return void
103
     */
104
    public function view()
105
    {
106
        $this->di->get("view")->add("{$this->namespace}/view");
107
        $this->di->get("page")->render([
108
            "title" => "View helpers",
109
        ]);
110
    }
111
}
112