-Hector
On Thu, Jun 4, 2009 at 7:37 AM, Ed Lazor <edlazor@internetarchitects.biz> wrote:
> This of course depends on how you implement it. I typically will throw aCould you share a copy of your implementation?
> BadMethodCallException or InvalidArgumentException for methods I'm not
> trapping or if the property is one I'm not handling. In the
> implementations I've done, I only allow virtual getters/setters and
> __get/__set access for protected methods defined in the class, and throw
> an exception for any others.
-Ed
没有评论:
发表评论