My problem should be pretty simple, yet I haven't found a solution. In Symfony 2.3, I validate forms using the built in validator. This works as expected. I would like to show the user the max. size for uploading a file but I don't want to hardcode it in the template but read it out of the validation.yml.
For reading values out of the parameters.yml file, I can use
$this->container->getParameter('xyz')
Is there something similar to read the validation.yml?