diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-07-18 21:23:47 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-07-19 21:01:55 +0300 |
commit | ea1713081c0579430ea11e4e8361c09968cdc52b (patch) | |
tree | e661b118fe13fca20c5113d7d086480c5ef08315 /libraries/services.php | |
parent | c8a57e8035595ac161a658be4ccd8cb9739ff8d1 (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.php | 6 |
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, |