We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Config\Format::getFormatter()
1 parent 5e50f2f commit 759c294Copy full SHA for 759c294
app/Config/Format.php
@@ -3,7 +3,6 @@
3
namespace Config;
4
5
use CodeIgniter\Config\BaseConfig;
6
-use CodeIgniter\Format\FormatterInterface;
7
use CodeIgniter\Format\JSONFormatter;
8
use CodeIgniter\Format\XMLFormatter;
9
@@ -62,16 +61,4 @@ class Format extends BaseConfig
62
61
'application/xml' => 0,
63
'text/xml' => 0,
64
];
65
-
66
- /**
67
- * A Factory method to return the appropriate formatter for the given mime type.
68
- *
69
- * @return FormatterInterface
70
71
- * @deprecated This is an alias of `\CodeIgniter\Format\Format::getFormatter`. Use that instead.
72
- */
73
- public function getFormatter(string $mime)
74
- {
75
- return service('format')->getFormatter($mime);
76
- }
77
}
0 commit comments