Created
September 2, 2013 21:53
-
-
Save enumag/6417587 to your computer and use it in GitHub Desktop.
Nette riddle - are these equivalent?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
foo: | |
class: FooService('two') | |
services: | |
foo: | |
class: FooService | |
arguments: [ 'two' ] |
@Majkl578: Oh I've not noticed your guess here. Anyway, wrong.
Hint: Try to overwrite service defined like this in another neon file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Guess #1: Second one doesn't provide autowiring for other parameters?