Jump to content

Get list of registered services


Recommended Posts

Hello,

prestashop 1.7.7.5

How can i get a list of all registered services (or controllers as they are registered services i suppose) in Prestashop. I found a command :

php bin/console debug:container

But should i execute it as a bash command in ssh access and also execute it where (which folder), or put it in a php file and call it?

How exactly should i do this. Would you please explain?

Regards,

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hello again,

ok i found the folder where to execute the command and get the list of the registered services. But if a php file (class) is not registered as a service, is there other option to decorate it. I can override it , but want to avoid that, as for future updates to be possible. So is there another way to extend or decorate this file, without losing the option to update version later? 

 

Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...