athenahr/app/View/Components/AccountStatus.php
miguel456 3727c84f3e
refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
2023-01-15 00:04:00 +00:00

52 lines
1015 B
PHP
Executable File

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