mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +08:00
Add Interface suffix
This commit is contained in:
parent
0803b5ac18
commit
dd6569a773
|
@ -16,7 +16,7 @@ use Flarum\Frontend\Event\Rendering;
|
|||
use Illuminate\Contracts\Container\Container;
|
||||
use Illuminate\Events\Dispatcher;
|
||||
|
||||
class Assets implements Extender
|
||||
class Assets implements ExtenderInterface
|
||||
{
|
||||
protected $appName;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ use Illuminate\Contracts\Container\Container;
|
|||
*
|
||||
* @deprecated
|
||||
*/
|
||||
class Compat implements Extender
|
||||
class Compat implements ExtenderInterface
|
||||
{
|
||||
protected $callback;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Flarum\Extend;
|
|||
use Flarum\Extension\Extension;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
|
||||
interface Extender
|
||||
interface ExtenderInterface
|
||||
{
|
||||
public function __invoke(Container $container, Extension $extension = null);
|
||||
}
|
|
@ -16,7 +16,7 @@ use Flarum\Formatter\Event\Configuring;
|
|||
use Illuminate\Contracts\Container\Container;
|
||||
use Illuminate\Events\Dispatcher;
|
||||
|
||||
class FormatterConfiguration implements Extender
|
||||
class FormatterConfiguration implements ExtenderInterface
|
||||
{
|
||||
protected $callback;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ use Illuminate\Contracts\Container\Container;
|
|||
use InvalidArgumentException;
|
||||
use RuntimeException;
|
||||
|
||||
class LanguagePack implements Extender
|
||||
class LanguagePack implements ExtenderInterface
|
||||
{
|
||||
public function __invoke(Container $container, Extension $extension = null)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ use Flarum\Extension\Extension;
|
|||
use Flarum\Locale\LocaleManager;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
|
||||
class Locales implements Extender
|
||||
class Locales implements ExtenderInterface
|
||||
{
|
||||
protected $directory;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ use Flarum\Extension\Extension;
|
|||
use Flarum\Http\RouteHandlerFactory;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
|
||||
class Routes implements Extender
|
||||
class Routes implements ExtenderInterface
|
||||
{
|
||||
protected $appName;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user