use defined service in all joomla 4 application instance #36810
Unanswered
babakhakimi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I´m making a component and related ConsoleApplication Command and want to use my services in all of joomla application instance like
Joomla\CMS\Application\AdministratorApplication
and
Joomla\CMS\Application\ConsoleApplication
and etc
but my services only registered in AdministratorApplication instance and is inaccessible in the ConsoleApplication
How should I register my services in my provider that is available in all instances and does not need to be redefined in my console command?
Beta Was this translation helpful? Give feedback.
All reactions