mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
chore: recover container
prop
This commit is contained in:
@@ -9,9 +9,17 @@
|
|||||||
|
|
||||||
namespace Flarum\Foundation;
|
namespace Flarum\Foundation;
|
||||||
|
|
||||||
|
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
abstract class AbstractServiceProvider extends ServiceProvider
|
abstract class AbstractServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
//
|
protected ApplicationContract $container;
|
||||||
|
|
||||||
|
public function __construct(ApplicationContract $app)
|
||||||
|
{
|
||||||
|
parent::__construct($app);
|
||||||
|
|
||||||
|
$this->container = $app;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user