Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind container to route callable #1631

Merged
merged 1 commit into from
Nov 28, 2015
Merged

Bind container to route callable #1631

merged 1 commit into from
Nov 28, 2015

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented Nov 28, 2015

For consistency with middleware, bind the container to the route callable too.

In order to avoid breaking too many current apps, also implement __get() and __isset() on Container, though this won't help those who have been using $this->getContainer().

Fixes #1602

@silentworks silentworks added this to the 3.0.0 RC3 milestone Nov 28, 2015
For consistency with middleware, bind the container to the route
callable too.

In order to avoid breaking too many current apps, also implement __get()
and __isset() on Container, though this won't help those who have been
using $this->getContainer().
codeguy added a commit that referenced this pull request Nov 28, 2015
@codeguy codeguy merged commit 559ab54 into slimphp:3.x Nov 28, 2015
rotexdegba added a commit to rotexsoft/slim-skeleton-mvc-app that referenced this pull request Nov 30, 2015
… now being

bound to the Slim App's container instead of the Slim App itself inside route 
callables slimphp/Slim#1631 .
rotexdegba added a commit to rotexsoft/slim-skeleton-mvc-tools that referenced this pull request Nov 30, 2015
… now being

bound to the Slim App's container instead of the Slim App itself inside route 
callables slimphp/Slim#1631 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants