protected function normalizeActionName($actionMethod, $throwException = true)
    {
        if (!StringHelper::startsWith($actionMethod, 'action')) {
            $actionMethod = static::getActionMethod($actionMethod);
        }

        if (!method_exists($this, $actionMethod)) {
            if ($throwException) {
                throw new NotFoundException('Page not found');
            } else {
                return null;
            }
        }

        return $actionMethod;
    }