Skip to content

Conversation

@oliverquynh
Copy link
Contributor

Each Command instance holds the Laravel application instance as it's property. Just call $this->laravel->getNamespace() to access the application namespace instead of using a trait.

@taylorotwell taylorotwell merged commit 8339202 into laravel:master Aug 12, 2019
@oliverquynh oliverquynh deleted the calll_getNamespace_from_the_laravel_property branch August 12, 2019 13:23
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.

2 participants