Skip to content

Commit c6bdede

Browse files
committed
Move operations controllers to Operations namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 638c7d3 commit c6bdede

File tree

10 files changed

+596
-593
lines changed

10 files changed

+596
-593
lines changed

app/services_controllers.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use PhpMyAdmin\Controllers\LogoutController;
2525
use PhpMyAdmin\Controllers\NavigationController;
2626
use PhpMyAdmin\Controllers\Normalization;
27+
use PhpMyAdmin\Controllers\Operations;
2728
use PhpMyAdmin\Controllers\PhpInfoController;
2829
use PhpMyAdmin\Controllers\Preferences;
2930
use PhpMyAdmin\Controllers\RecentTablesListController;
@@ -170,8 +171,8 @@
170171
'class' => Database\MultiTableQueryController::class,
171172
'arguments' => ['$response' => '@response', '$template' => '@template', '$dbi' => '@dbi'],
172173
],
173-
Database\Operations\CollationController::class => [
174-
'class' => Database\Operations\CollationController::class,
174+
Operations\Database\CollationController::class => [
175+
'class' => Operations\Database\CollationController::class,
175176
'arguments' => [
176177
'$response' => '@response',
177178
'$template' => '@template',
@@ -180,8 +181,8 @@
180181
'$dbTableExists' => '@' . DbTableExists::class,
181182
],
182183
],
183-
Database\OperationsController::class => [
184-
'class' => Database\OperationsController::class,
184+
Operations\DatabaseController::class => [
185+
'class' => Operations\DatabaseController::class,
185186
'arguments' => [
186187
'$response' => '@response',
187188
'$template' => '@template',
@@ -1309,8 +1310,8 @@
13091310
'$maintenance' => '@partitioning_maintenance',
13101311
],
13111312
],
1312-
Table\OperationsController::class => [
1313-
'class' => Table\OperationsController::class,
1313+
Operations\TableController::class => [
1314+
'class' => Operations\TableController::class,
13141315
'arguments' => [
13151316
'$response' => '@response',
13161317
'$template' => '@template',
@@ -1603,8 +1604,8 @@
16031604
'$dbTableExists' => '@' . DbTableExists::class,
16041605
],
16051606
],
1606-
View\OperationsController::class => [
1607-
'class' => View\OperationsController::class,
1607+
Operations\ViewController::class => [
1608+
'class' => Operations\ViewController::class,
16081609
'arguments' => [
16091610
'$response' => '@response',
16101611
'$template' => '@template',

0 commit comments

Comments
 (0)