athenahr/app/View/Components/AccountStatus.php
miguel456 0c463d1f10
Revert "merge 1"
This reverts commit 0bc6c20a6d6ad9b906827b9d3f3034a811178f60.
2022-10-24 01:03:43 +01:00

32 lines
570 B
PHP
Executable File

<?php
namespace App\View\Components;
use App\User;
use Illuminate\View\Component;
class AccountStatus extends Component
{
public $user;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($userId)
{
$this->user = User::findOrFail($userId);
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.account-status');
}
}