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

Add magic method __isset method to HalResource #126

Merged
merged 1 commit into from
May 26, 2016

Conversation

Wilt
Copy link
Contributor

@Wilt Wilt commented May 21, 2014

To be able to use the isset function in the getIdFromResource method (line 154 in HalLinks) there needs to be a magic __isset method inside the HalResource.
Right now the isset always returns false even if the 'id' is set in $resource. This can be considered a bug.

To be able to use the isset function in the getIdFromResource method (line 154 in HalLinks) we need to add the magic __isset method to the HalResource.
Right now the isset always returns false even if the 'id' is set in $resource. This can be considered a bug.
@weierophinney weierophinney merged commit ffdfa27 into phly:master May 26, 2016
weierophinney added a commit that referenced this pull request May 26, 2016
Add magic method __isset method to HalResource
weierophinney added a commit that referenced this pull request May 26, 2016
weierophinney added a commit that referenced this pull request May 26, 2016
weierophinney added a commit that referenced this pull request May 26, 2016
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