src/Container.php
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);
    }
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);
    }
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 ) ; }
Returns all configs.

@param bool $alias by alias
@param array $only list of items whose value needs to be returned.
@param array $exclude list of items whose value should NOT be returned.
@return array the array representation of the collection.
Returns all configs .