yaml "{# constant #} {% macro addConstant(constant) %}" code example
Example: yaml constants
# app/config/services.yml
services:
app.my_service:
# ...
arguments:
- '@app.other_service'
- !php/const:AppBundle\Entity\BlogPost::MUM_ITEMS
- !php/const:Symfony\Component\HttpKernel\Kernel::VERSION