for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Omatech\Mage\Core\Domains\Roles\Jobs;
use Omatech\Mage\Core\Domains\Roles\Contracts\ExistsRoleInterface;
use Omatech\Mage\Core\Domains\Roles\Role;
class ExistsRole
{
/**
* @param Role $role
* @return bool
*/
public function make(Role $role): bool
return resolve(ExistsRoleInterface::class)->exists($role);
}