public static function checkRouteMatchesMethod($ctr, string $met_call):int
    {
        if (isset($ctr["m_allow"]) && in_array("ALL", $ctr["m_allow"])) {
            return (1);
        } elseif (isset($ctr["m_allow"]) && is_string($ctr["m_allow"]) && $ctr["m_allow"] === $met_call) {
            return (1);
        } elseif (isset($ctr["m_allow"]) && is_array($ctr["m_allow"]) && in_array($met_call, $ctr["m_allow"])) {
            return (1);
        } else {
            throw new Server405(new \ArrayObject(array("explain" =>
                "Method request $met_call is not allowed for this route", "solution" =>
                "Route required methods : ".json_encode($ctr["m_allow"]))));
        }
    }