removed dependency to constant used in Symfony > 2.3