The current standard is: Named encoders were introduced in Symfony 2.5.