HomePhabricator

Throw on accessing an undeclared property

Description

Throw on accessing an undeclared property

Summary: Currently, Phobject throws when trying to set an undeclared property but not when trying to get an undeclared property. It seems reasonable to add this functionality.

Test Plan: Added unit tests.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13493

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jul 6 2015, 1:12 PM
Reviewer
Blessed Reviewers
Differential Revision
D13493: Throw on accessing an undeclared property
Parents
rPHU112843f63e35: Initialize a class property
Branches
Unknown
Tags
Unknown