Skip to content

Add public getter to access the application instance#20

Merged
Naktibalda merged 2 commits intoCodeception:masterfrom
fourhundredfour:master
Nov 20, 2022
Merged

Add public getter to access the application instance#20
Naktibalda merged 2 commits intoCodeception:masterfrom
fourhundredfour:master

Conversation

@fourhundredfour
Copy link
Copy Markdown

@fourhundredfour fourhundredfour commented Dec 2, 2021

Useful case:

  • Access ServiceManager from a Helper class with $this->getModule('Laminas')->client->getApplication()->getServiceManager()

Closes #10

@fourhundredfour fourhundredfour changed the title Add public getter to access the application instance from Laminas-Con… Add public getter to access the application instance Dec 2, 2021
@Naktibalda Naktibalda merged commit 40e7e3e into Codeception:master Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Property $application is not set

2 participants