recursiveArrayOfDomainObjectsToArray()
protected method
Convert an array of possible DomainObject instances. The argument
$possibleDomainObjects could also an associative array representation
of another DomainObject - which means each value could potentially
be another DomainObject, an ObjectStorage of DomainObjects or a simple
value type. The type is checked and another recursive call is used to
convert any nested objects.