Where does symfony2 store the default services it has? [duplicate] - symfony

This question already has answers here:
Is there a list of Symfony2 default container services?
(6 answers)
Closed 8 years ago.
Symfony has some default services like
$this->get("session")
and so on..
Where are the services defined ?

This service is defined here in Symfony2:
Symfony\Component\HttpFoundation\Session\Session;
and run this command and see symfony2 all services:
php app/console container:debug

Related

How to create project in firebase programmatically [duplicate]

This question already has answers here:
How can I programmatically create a Firebase project? [duplicate]
(1 answer)
Is it possible to create a new Firebase project by API?
(2 answers)
How to create a new firebase app programmatically? [duplicate]
(1 answer)
Closed 4 months ago.
I need to automate the process of registering projects in firebase and adding android and ios apps to the projects (and getting their their server-key and sender-id). Is there a way to do that progrommatically, using API or CLI?

Can we connect ASP.NET with firebase database [duplicate]

This question already has answers here:
Firebase .NET access
(1 answer)
Firebase in c# (API recommendation)
(1 answer)
Closed 5 years ago.
Is is possible to connect ASP.net with firebase database.
If yes please tell me how to do that

Is there a local host version of Firebase, Like XAMPP for MySQL? [duplicate]

This question already has answers here:
Firebase Hosting on own server
(5 answers)
Closed 6 years ago.
I need to continue working when away from the internet. Please advice on Firebase Local Server.
Try using this command in your hosting directory:
firebase serve
This command will host your site to localhost:5000.

Symfony inteface based constructor dependency injection [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm .NET developer and have some questions about Symfony's IoC implementation.
Does Symfony is capable for .NET-style (i.e. Ninject, Castle Windsor, etc.) constructor injections. Namely, can I avoid the necessity of giving name to each service and bind service implementation to interface instead? Also can I do not define each controller as a service for make DI working? "Controller as a service" and manual configuration constructor's parameters in services.yml(xml) seems to me redundant after years of .NET development. Thanks.
P.S. Sorry for my english.
Namely, can I avoid the necessity of giving name to each service and bind service implementation to interface instead?
No, you can't. It one of the things I'm missing in the di component too.
Also can I do not define each controller as a service for make DI working?
The good point about symfony2 is that it removed most of the convention-based things. Doing the thing you suggested adds a mew convention to symfony. You could check the KnpRadBundle, to see how they implemented auto registering of other services, based on conventions and create your own bundle which does it for controllers.

Symfony2 Admingenerator vs. Sonata admin [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Just found out about this new project Symfony2 Admin Generator. It is for easy development of backends for symfony2 based applications.
I was wondering, how this tool is different from Sonata admin project? Is there any use case where this new admin generator would be preferred?
The two bundles are actively developed so those considerations can
change in the near future.
I've migrated my admin panels from symfony2admingenerator to SonataAdmin recently, partly due to some bug in symfony2admingenerator, and partly because I've found SonataAdmin clearer.
SA uses an OOP approach, while S2AG rely on a yml config to define the admin panels
S2AG need to generate a complete CRUD structure via command (controllers, views, and a yml config), while SA panels are only 1 DI Service Class
in S2AG the configuration options are more obscure, since they are based on a yml file and on autogenerated classes, and often an error doesn't yield a meaningful message/stacktrace
in S2AG is simplier to customize the rendering of a field.
in the S2AG web pages, some parameters (like the filter of a list) are stored in the Session, rather than in the query string. This lead to the difficulty to link directly to a filtered list (eg: The comments by an user)
SA seemed more stable, but the MongoDB part is less developed and has less features than the ORM part.

Resources