Answers for "yaml load constant"

1

yaml constants

# app/config/services.yml
services:
    app.my_service:
        # ...
        arguments:
            - '@app.other_service'
            - !php/const:AppBundleEntityBlogPost::MUM_ITEMS
            - !php/const:SymfonyComponentHttpKernelKernel::VERSION
Posted by: Guest on March-30-2020

Browse Popular Code Answers by Language