/** * @return void * @throws MemberAccessException */ public function __unset($name) { $class = get_class($this); if (!ObjectMixin::hasProperty($class, $name)) { throw new MemberAccessException("Cannot unset the property {$class}::\${$name}."); } }