public function addData($data) : void
    {
        Assert::isInstanceOfAny($data, [Chunk::class, X509Certificate::class]);
        $this->data[] = $data;
    }
public function addData($data) : void
    {
        Assert::isInstanceOfAny($data, [Chunk::class, X509Certificate::class]);
        $this->data[] = $data;
    }
public function addData ( $ data ) : void { Assert :: isInstanceOfAny ( $ data , [ Chunk :: class , X509Certificate :: class ] ) ; $ this -> data [ ] = $ data ; }
Add the value to the data-property

@param \SAML2\XML\Chunk|\SAML2\XML\ds\X509Certificate $data
@return void
Add the value to the data - property