Controller class resolution

31 views
Skip to first unread message

Hector Hurtarte

unread,
Sep 17, 2013, 3:07:05 PM9/17/13
to syliu...@googlegroups.com
Hi people,

I'm new to the project, looking to understand the architecture.

Can somebody shed some light on me about how does the container resolve the service sylius.controller.exchange_rate to the Sylius\Bundle\ResourceBundle\Controller\ResourceController, given this line [1]?

I don't seem to find that parameter definition anywhere.

Thanks in advance.

Héctor

[1] https://github.com/Sylius/SyliusMoneyBundle/blob/master/Resources/config/services.xml#L30

Sebastian Krebs

unread,
Sep 17, 2013, 3:47:10 PM9/17/13
to syliu...@googlegroups.com



2013/9/17 Hector Hurtarte <hect...@gmail.com>

Hi people,

I'm new to the project, looking to understand the architecture.

Can somebody shed some light on me about how does the container resolve the service sylius.controller.exchange_rate to the Sylius\Bundle\ResourceBundle\Controller\ResourceController, given this line [1]?


Hint: Parameters and services are mostly affected by the services-definitions (services.xml and others), the DIC-Extension-class (one of those I linked) and compiler-passes (beside the Extension-class in a subfolder "CompilerPass"). Good to start there for investigations :)

Regards,
Sebastian
 

I don't seem to find that parameter definition anywhere.

Thanks in advance.

Héctor

[1] https://github.com/Sylius/SyliusMoneyBundle/blob/master/Resources/config/services.xml#L30

--
You received this message because you are subscribed to the Google Groups "Sylius-Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sylius-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
github.com/KingCrunch

Hector Hurtarte

unread,
Sep 18, 2013, 12:19:01 PM9/18/13
to syliu...@googlegroups.com
I'll have a look, thanks :-)

Héctor
Reply all
Reply to author
Forward
0 new messages