-
Notifications
You must be signed in to change notification settings - Fork 7
Property $application is not set #10
Copy link
Copy link
Closed
Description
When trying to access the public property $application, it is empty. Also, I could not find where the code sets the property. All I find is that it is only declared in the module class.
What I am trying is this (I use ZF2, but upon inspection it seems that the same applies to Laminas):
$this->getModule('ZF2')->application->getServiceManager()
But it does not work because of an error.
[Error] Call to a member function getServiceManager() on null
Is it a bug or there is a specific use case for this property? Could not find any hint in the documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels