]> git.mxchange.org Git - friendica.git/blob - src/Module/HTTPException/MethodNotAllowed.php
cleanup namespace usages for L10n
[friendica.git] / src / Module / HTTPException / MethodNotAllowed.php
1 <?php
2
3 namespace Friendica\Module\HTTPException;
4
5 use Friendica\BaseModule;
6 use Friendica\DI;
7 use Friendica\Network\HTTPException;
8
9 class MethodNotAllowed extends BaseModule
10 {
11         public static function content(array $parameters = [])
12         {
13                 throw new HTTPException\MethodNotAllowedException(DI::l10n()->t('Method Not Allowed.'));
14         }
15 }