Bug #6647

ObjectAccess doesn't know that is*() is also a possible getter method name

Added by Robert Lemke over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Reflection
Start date:
2010-03-01
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

Description

ObjectAccess::getProperty() tries to call a method getFoo() in order to retrieve property "foo". However, it doesn't know that isFoo() is also a valid getter name for boolean properties.

Associated revisions

Revision ffab1f3c (diff)
Added by Robert Lemke over 9 years ago

[+BUGFIX] FLOW3 (Reflection): ObjectAccess know correctly recognizes isFoo() getter methods for boolean properties. Fixes #6647

History

#1 Updated by Robert Lemke over 9 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3892.

Also available in: Atom PDF