src/Manager.php
public function makeRoleLockAware($role)
    {
        $role = $this->convertRoleToObject($role);
        $lock = $this->role($role);

        $role->setLock($lock);

        return $role;
    }
public function makeRoleLockAware($role)
    {
        $role = $this->convertRoleToObject($role);
        $lock = $this->role($role);

        $role->setLock($lock);

        return $role;
    }
public function makeRoleLockAware ( $ role ) { $ role = $ this -> convertRoleToObject ( $ role ) ; $ lock = $ this -> role ( $ role ) ; $ role -> setLock ( $ lock ) ; return $ role ; }
Sets the lock instance on role that implements the LockAware trait

@param \BeatSwitch\Lock\Roles\Role|string $role
@return \BeatSwitch\Lock\Roles\Role
Sets the lock instance on role that implements the LockAware trait