src/Danmichaelo/QuiteSimpleXMLElement/SimpleXMLElementWrapper.php
public function children($ns = null)
    {
        $ch = is_null($ns)
            ? $this->el->children()
            : $this->el->children($this->namespaces[$ns]);

        $o = [];
        foreach ($ch as $c) {
            $o[] = new static($c, $this);
        }

        return $o;
    }
public function children($ns = null)
    {
        $ch = is_null($ns)
            ? $this->el->children()
            : $this->el->children($this->namespaces[$ns]);

        $o = [];
        foreach ($ch as $c) {
            $o[] = new static($c, $this);
        }

        return $o;
    }
public function children ( $ ns = null ) { $ ch = is_null ( $ ns ) ? $ this -> el -> children ( ) : $ this -> el -> children ( $ this -> namespaces [ $ ns ] ) ; $ o = [ ] ; foreach ( $ ch as $ c ) { $ o [ ] = new static ( $ c , $ this ) ; } return $ o ; }
Returns child elements.

Note: By default, only children without namespace will be returned! You can
specify a namespace prefix to get children with that namespace prefix.

If you want all child elements, namespaced or not, use
`$record->all('child::*')` instead.

@param string $ns
@return QuiteSimpleXMLElement[]
Returns child elements .