protected function getName($classname, $function = null)
    {
        $name = str_replace('Controller', '', last(explode('\\', $classname)));
        return strtoupper(!is_null($function) ? $name . '_' . $function : $name);
    }