src/Utils/Data.php
public static function elementChildren($elements) {
    // Filter out properties from the element, leaving only children.
    $children = array();
    foreach ($elements as $key => $value) {
      if ($key === '' || $key[0] !== '#') {
        $children[$key] = $value;
      }
    }
    return array_keys($children);
  }
public static function elementChildren($elements) {
    // Filter out properties from the element, leaving only children.
    $children = array();
    foreach ($elements as $key => $value) {
      if ($key === '' || $key[0] !== '#') {
        $children[$key] = $value;
      }
    }
    return array_keys($children);
  }
public static function elementChildren ( $ elements ) { // Filter out properties from the element, leaving only children. $ children = array ( ) ; foreach ( $ elements as $ key => $ value ) { if ( $ key === '' || $ key [ 0 ] !== '#' ) { $ children [ $ key ] = $ value ; } } return array_keys ( $ children ) ; }
Identifies the children of an element array.

The children of a element array are those key/value pairs whose key does
not start with a '#'.

@param array $elements
The element array whose children are to be identified.

@return array
The array keys of the element's children.
Identifies the children of an element array .