Change "Null" to "NULL" on grid edit null popup to make the text mean the NULL value...
[phpmyadmin.git] / libraries / services.php
blobc445a8ff71a40dadf9ce0d31b1c74b6a1b7c85ee
1 <?php
3 declare(strict_types=1);
5 return [
6 'services' => [
7 'advisor' => [
8 'class' => PhpMyAdmin\Advisor::class,
9 'arguments' => [
10 '$dbi' => '@dbi',
11 '$expression' => '@expression_language',
14 'browse_foreigners' => [
15 'class' => PhpMyAdmin\BrowseForeigners::class,
16 'arguments' => ['@template'],
18 'config' => [
19 'class' => PhpMyAdmin\Config::class,
20 'arguments' => [CONFIG_FILE],
22 'central_columns' => [
23 'class' => PhpMyAdmin\Database\CentralColumns::class,
24 'arguments' => ['@dbi'],
26 'check_user_privileges' => [
27 'class' => PhpMyAdmin\CheckUserPrivileges::class,
28 'arguments' => ['@dbi'],
30 'create_add_field' => [
31 'class' => PhpMyAdmin\CreateAddField::class,
32 'arguments' => ['@dbi'],
34 'designer' => [
35 'class' => PhpMyAdmin\Database\Designer::class,
36 'arguments' => [
37 '$dbi' => '@dbi',
38 '$relation' => '@relation',
39 '$template' => '@template',
42 'designer_common' => [
43 'class' => PhpMyAdmin\Database\Designer\Common::class,
44 'arguments' => [
45 '$dbi' => '@dbi',
46 '$relation' => '@relation',
49 'error_handler' => [
50 'class' => PhpMyAdmin\ErrorHandler::class,
52 'error_report' => [
53 'class' => PhpMyAdmin\ErrorReport::class,
54 'arguments' => [
55 '@http_request',
56 '@relation',
57 '@template',
60 'events' => [
61 'class' => PhpMyAdmin\Database\Events::class,
62 'arguments' => [
63 '@dbi',
64 '@template',
65 '@response',
68 'export' => [
69 'class' => PhpMyAdmin\Export::class,
70 'arguments' => ['@dbi'],
72 'export_options' => [
73 'class' => PhpMyAdmin\Export\Options::class,
74 'arguments' => [
75 '@relation',
76 '@export_template_model',
79 'export_template_model' => [
80 'class' => PhpMyAdmin\Export\TemplateModel::class,
81 'arguments' => ['@dbi'],
83 'expression_language' => [
84 'class' => Symfony\Component\ExpressionLanguage\ExpressionLanguage::class,
86 'http_request' => [
87 'class' => PhpMyAdmin\Utils\HttpRequest::class,
89 'import' => [
90 'class' => PhpMyAdmin\Import::class,
92 'insert_edit' => [
93 'class' => PhpMyAdmin\InsertEdit::class,
94 'arguments' => ['@dbi'],
96 'navigation' => [
97 'class' => PhpMyAdmin\Navigation\Navigation::class,
98 'arguments' => [
99 '@template',
100 '@relation',
101 '@dbi',
104 'normalization' => [
105 'class' => PhpMyAdmin\Normalization::class,
106 'arguments' => [
107 '$dbi' => '@dbi',
108 '$relation' => '@relation',
109 '$transformations' => '@transformations',
110 '$template' => '@template',
113 'operations' => [
114 'class' => PhpMyAdmin\Operations::class,
115 'arguments' => [
116 '$dbi' => '@dbi',
117 '$relation' => '@relation',
120 'relation' => [
121 'class' => PhpMyAdmin\Relation::class,
122 'arguments' => [
123 '@dbi',
124 '@template',
127 'relation_cleanup' => [
128 'class' => PhpMyAdmin\RelationCleanup::class,
129 'arguments' => [
130 '@dbi',
131 '@relation',
134 'replication' => [
135 'class' => PhpMyAdmin\Replication::class,
137 'replication_gui' => [
138 'class' => PhpMyAdmin\ReplicationGui::class,
139 'arguments' => [
140 '$replication' => '@replication',
141 '$template' => '@template',
144 'response' => [
145 'class' => PhpMyAdmin\Response::class,
146 'factory' => [PhpMyAdmin\Response::class, 'getInstance'],
148 'server_plugins' => [
149 'class' => PhpMyAdmin\Server\Plugins::class,
150 'arguments' => ['@dbi'],
152 'server_privileges' => [
153 'class' => PhpMyAdmin\Server\Privileges::class,
154 'arguments' => [
155 '@template',
156 '@dbi',
157 '@relation',
158 '@relation_cleanup',
161 'sql' => [
162 'class' => PhpMyAdmin\Sql::class,
163 'arguments' => [
164 '@dbi',
165 '@relation',
166 '@relation_cleanup',
167 '@operations',
168 '@transformations',
169 '@template',
172 'sql_query_form' => [
173 'class' => PhpMyAdmin\SqlQueryForm::class,
174 'arguments' => ['$template' => '@template'],
176 'status_data' => [
177 'class' => PhpMyAdmin\Server\Status\Data::class,
179 'status_monitor' => [
180 'class' => PhpMyAdmin\Server\Status\Monitor::class,
181 'arguments' => ['@dbi'],
183 'table_maintenance' => [
184 'class' => PhpMyAdmin\Table\Maintenance::class,
185 'arguments' => ['$dbi' => '@dbi'],
187 'table_partition' => [
188 'class' => PhpMyAdmin\Table\Partition::class,
189 'arguments' => ['$dbi' => '@dbi'],
191 'table_search' => [
192 'class' => PhpMyAdmin\Table\Search::class,
193 'arguments' => ['$dbi' => '@dbi'],
195 'template' => [
196 'class' => PhpMyAdmin\Template::class,
198 'tracking' => [
199 'class' => PhpMyAdmin\Tracking::class,
200 'arguments' => [
201 '$sqlQueryForm' => '@sql_query_form',
202 '$template' => '@template',
203 '$relation' => '@relation',
206 'transformations' => [
207 'class' => PhpMyAdmin\Transformations::class,
209 'user_password' => [
210 'class' => PhpMyAdmin\UserPassword::class,
211 'arguments' => ['@server_privileges'],
213 'user_preferences' => [
214 'class' => PhpMyAdmin\UserPreferences::class,
216 PhpMyAdmin\Response::class => 'response',
217 PhpMyAdmin\DatabaseInterface::class => 'dbi',