MM
Size: a a a
MM
VY
VY
AH
return $this->model
->with('authorizes')
->find($userID ?: $this->getAuthUserID());
РИ
РИ
MM
РИ
MM
public function getAuthorizes($userID = null): Collection
{
$user = $this->model
->with('authorizes')
->find($userID ?: $this->getAuthUserID());
return $user->authorizes ?: collect();
}
MM
РИ
РИ
MM
EG
EG
MP
public function getAuthorizes($userID = null): Collection
{
$user = $this->model
->with('authorizes')
->find($userID ?: $this->getAuthUserID());
return $user->authorizes ?: collect();
}
MM
MP
MP