Lines Matching defs:property
36 * List of deprecated properties, in <property name> => <class> format
37 * where <class> is the the name of the class defining the property
45 * Mark a property as deprecated. Only use this for properties that used to be public and only
48 * @param string $property The name of the property.
49 * @param null $class name of the class defining the property
53 $property,
56 $this->deprecatedPublicProperties[$property] = $class ?: get_class($this);
69 // Someone tried to access a normal non-public property. Try to behave like PHP would.
70 trigger_error("Cannot access non-public property $qualifiedName", E_USER_ERROR);
72 // Non-existing property. Try to behave like PHP would.
73 trigger_error("Undefined property: $qualifiedName", E_USER_NOTICE);
89 // Someone tried to access a normal non-public property. Try to behave like PHP would.
90 trigger_error("Cannot access non-public property $qualifiedName", E_USER_ERROR);
92 // Non-existing property. Try to behave like PHP would.
99 * class in the inheritance chain declared the property.
100 * @param string $property
101 * @return string|bool Best guess for the class in which the property is defined.
103 private function deprecationHelperGetPropertyOwner($property)
105 // Easy branch: check for protected property / private property of the current class.
106 if (property_exists($this, $property)) {
112 // property_exists() returns false when the property does exist but is private (and not
119 $obfuscatedPropTail = "\0$property";