Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Add magic method __isset method to HalResource#126

Merged
weierophinney merged 1 commit into
phly:masterfrom
Wilt:patch-1
May 26, 2016
Merged

Add magic method __isset method to HalResource#126
weierophinney merged 1 commit into
phly:masterfrom
Wilt:patch-1

Conversation

@Wilt
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants