protected static function getCallable($handlers, $handler_id, $name)
    {
        if (isset($handler_id)) {

            if (empty($handlers[$handler_id]['handlers'][$name])) {
                throw new OutOfRangeException("Unknown handler ID $handler_id and/or method name $name");
            }

            return $handlers[$handler_id]['handlers'][$name];
        }

        if (empty($handlers['handlers'][$name])) {
            throw new OutOfRangeException("Unknown handler method name $name");
        }

        return $handlers['handlers'][$name];
    }
protected static function getCallable($handlers, $handler_id, $name)
    {
        if (isset($handler_id)) {

            if (empty($handlers[$handler_id]['handlers'][$name])) {
                throw new OutOfRangeException("Unknown handler ID $handler_id and/or method name $name");
            }

            return $handlers[$handler_id]['handlers'][$name];
        }

        if (empty($handlers['handlers'][$name])) {
            throw new OutOfRangeException("Unknown handler method name $name");
        }

        return $handlers['handlers'][$name];
    }
protected static function getCallable ( $ handlers , $ handler_id , $ name ) { if ( isset ( $ handler_id ) ) { if ( empty ( $ handlers [ $ handler_id ] [ 'handlers' ] [ $ name ] ) ) { throw new OutOfRangeException ( "Unknown handler ID $handler_id and/or method name $name" ) ; } return $ handlers [ $ handler_id ] [ 'handlers' ] [ $ name ] ; } if ( empty ( $ handlers [ 'handlers' ] [ $ name ] ) ) { throw new OutOfRangeException ( "Unknown handler method name $name" ) ; } return $ handlers [ 'handlers' ] [ $ name ] ; }
Returns a callable data from the handler array
@param array $handlers
@param string|null $handler_id
@param string $name
@return array|object
@throws OutOfRangeException
Returns a callable data from the handler array