31        parent::__construct(
$name, $children, 
null);
 
   52            switch ($this->failMode) {
 
   53                case 'updatepropsfalse' : 
return false;
 
   54                case 'updatepropsarray' :
 
   56                    foreach ($updateProperties as $k => $v) 
$r[$k] = 402;
 
   58                case 'updatepropsobj' :
 
   59                    return new \STDClass();
 
   83        $returnedProperties = [];
 
   84        foreach ($requestedProperties as $requestedProperty) {
 
   85            if (isset($this->properties[$requestedProperty])) {
 
   86                $returnedProperties[$requestedProperty] =
 
   87                    $this->properties[$requestedProperty];
 
   90        return $returnedProperties;
 
An exception for terminatinating execution or to throw for unit testing.
A node specifically for testing property-related operations.
propPatch(PropPatch $proppatch)
Updates properties on this node.
getProperties($requestedProperties)
Returns a list of properties for this nodes.
__construct($name, array $children, array $properties=[])
Creates the object.
This class represents a set of properties that are going to be updated.
handleRemaining(callable $callback)
Call this function if you wish to handle all properties that haven't been handled by anything else ye...