sspooky13/yaml-standards

New standard: Services: arguments are defined gradually or specifically

Opened this issue · 0 comments

Description
Arguments can be defined in 2 ways: gradually or specifically. So, we should observe one way.

Example
Gradually

Foo\FooBundle\FooFacade:
    arguments:
        - '%arg_1%'
        - '%arg_2%'
        - '%arg_3%'

Specifically

Foo\FooBundle\FooFacade:
    arguments:
        $pathToDir: '%arg_1%'
        $pathToFile: '%arg_2%'
        $pathToImage: '%arg_3%'