src/Callers/CallerLock.php
protected function getLockInstancesForCallerRoles()
    {
        return array_map(function ($role) {
            return $this->manager->role($role);
        }, $this->caller->getCallerRoles());
    }
protected function getLockInstancesForCallerRoles()
    {
        return array_map(function ($role) {
            return $this->manager->role($role);
        }, $this->caller->getCallerRoles());
    }
protected function getLockInstancesForCallerRoles ( ) { return array_map ( function ( $ role ) { return $ this -> manager -> role ( $ role ) ; } , $ this -> caller -> getCallerRoles ( ) ) ; }
Get all the lock instances for all the roles of the current caller

@return \BeatSwitch\Lock\Roles\RoleLock[]
Get all the lock instances for all the roles of the current caller