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\Role;
use Omatech\Mage\Core\Domains\Roles\Contracts\AttachedRoleInterface;
class AttachedRole
{
/**
* @param Role $role
* @return bool
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make(Role $role): bool
return app()->make(AttachedRoleInterface::class)->attached($role);
}