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

@param String $classname
@param String $function
@return String
Creates name of log entity