Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2020-07-18 21:23:47 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-07-19 21:01:55 +0300
commitea1713081c0579430ea11e4e8361c09968cdc52b (patch)
treee661b118fe13fca20c5113d7d086480c5ef08315 /libraries/services.php
parentc8a57e8035595ac161a658be4ccd8cb9739ff8d1 (diff)
Create Export\TemplateModel class
Extracts the database calls from the controller to the model. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/services.php')
-rw-r--r--libraries/services.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/services.php b/libraries/services.php
index e6265c3b4e..27c7492a18 100644
--- a/libraries/services.php
+++ b/libraries/services.php
@@ -97,6 +97,12 @@ return [
'arguments' =>
['@dbi'],
],
+ 'export_template_model' =>
+ [
+ 'class' => PhpMyAdmin\Export\TemplateModel::class,
+ 'arguments' =>
+ ['@dbi'],
+ ],
'expression_language' =>
[
'class' => Symfony\Component\ExpressionLanguage\ExpressionLanguage::class,