public function addChildren($child) : void
    {
        Assert::isInstanceOfAny($child, [Chunk::class, Attribute::class]);
        $this->children[] = $child;
    }
public function addChildren($child) : void
    {
        Assert::isInstanceOfAny($child, [Chunk::class, Attribute::class]);
        $this->children[] = $child;
    }
public function addChildren ( $ child ) : void { Assert :: isInstanceOfAny ( $ child , [ Chunk :: class , Attribute :: class ] ) ; $ this -> children [ ] = $ child ; }
Add the value to the children-property

@param \SAML2\XML\Chunk|\SAML2\XML\saml\Attribute $child
@return void
Add the value to the children - property