public function getParam(string $key)
    {
        $isActionParam = in_array($key, [self::PARAM_CONTROLLER, self::PARAM_ACTION]);
        $params = $isActionParam ? $this->actionParams: $this->params;
        return array_key_exists($key, $params) ? $params[$key] : null;
    }