public static function getAll(array $only = [], array $exclude = [], $alias = false)
    {
        return $alias === true
            ? ArrayHelper::only(static::$classAliases, $only, $exclude)
            : ArrayHelper::only(static::$classNames, $only, $exclude);
    }