1
0
Fork 0
wow-raid-bingo/app/Http/Livewire/GameComponent.php
2021-10-18 11:56:52 +02:00

18 lines
306 B
PHP

<?php
namespace App\Http\Livewire;
use App\Game\GameService;
use Livewire\Component;
abstract class GameComponent extends Component
{
/**
* Get the game service object
*/
public function getServiceProperty() : GameService
{
return app()->make(GameService::class);
}
}