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