Skip to content

Commit 424a6c1

Browse files
committed
Cleanup
1 parent e571d2c commit 424a6c1

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/lib/items/ActionHelperTrait.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -69,42 +69,4 @@ public static function finalOptionsRoute(string $prefix, string $controllerId):
6969
{
7070
return trim($prefix, '/') . '/' . $controllerId . '/options';
7171
}
72-
73-
// TODO remove
74-
// public function getRouteInfo(): array
75-
// {
76-
// /** @var ?array $modules */
77-
// $modules = $controllerId = $path = $namespace = null;
78-
//
79-
// if ($this->xRoute) {
80-
// $routeParts = explode('/', $this->xRoute);
81-
// $controllerId = $routeParts[count($routeParts)-2]; # last second part is controller ID
82-
//// $actionId = $routeParts[count($routeParts)-1];
83-
// unset($routeParts[count($routeParts)-1], $routeParts[count($routeParts)-2]);
84-
// $modules = $routeParts;
85-
// }
86-
//
87-
// return [
88-
// 'modules' => $modules,
89-
// 'controller_id' => $controllerId,
90-
//// 'action_id' => $actionId,
91-
// 'path' => $path,
92-
// 'namespace' => $namespace,
93-
// ];
94-
// }
95-
96-
// public function getRoute(): string
97-
// {
98-
//
99-
// }
100-
//
101-
// public function getPath(): string
102-
// {
103-
//
104-
// }
105-
//
106-
// public function getNamespace(): string
107-
// {
108-
//
109-
// }
11072
}

0 commit comments

Comments
 (0)