mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-03 21:34:35 +00:00
23 lines
430 B
PHP
23 lines
430 B
PHP
<?php
|
|
|
|
namespace App\Livewire;
|
|
|
|
use App\Http\Controllers\auth\PopulationController;
|
|
use Livewire\Component;
|
|
|
|
class PopulationGraph extends Component
|
|
{
|
|
public $populationGraph;
|
|
|
|
public function mount()
|
|
{
|
|
$populationGraph = new PopulationController();
|
|
$this->populationGraph = $populationGraph->stats();
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.population-graph');
|
|
}
|
|
}
|