mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-28 00:24:41 -06:00
13 lines
301 B
PHP
13 lines
301 B
PHP
<?php namespace Visiosoft\ProfileModule\Support\Command;
|
|
|
|
use Anomaly\UsersModule\Role\Contract\RoleRepositoryInterface;
|
|
|
|
class getAdmins
|
|
{
|
|
public function handle()
|
|
{
|
|
$adminRole = app(RoleRepositoryInterface::class)->findBySlug('admin');
|
|
return $adminRole->getUsers();
|
|
}
|
|
}
|