A
A
Anton2016-11-26 14:59:24
PHP
Anton, 2016-11-26 14:59:24

How to get Application object?

Hello. I use silex and create an Aplication object in the index file, now I need to get the same app in my class, can I somehow do this without passing the app to this class?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2016-11-26
@OnYourLips

Прочитайте silex.sensiolabs.org/doc/master/services.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question