copied from https://github.com/tPl0ch/TPSolariumExtensionsBundle
remove symfony-dependency