public static function getClassForKey($key, App $app)
    {
        $className = '\\app\\statistics\\metrics\\'.Inflector::get()->camelize($key).'Metric';

        if (class_exists($className)) {
            return new $className($app);
        }

        return false;
    }