src/Api/Proto/Events/PrepareDocumentsToSignRequest.php
public function addDraftDocuments(\AgentSIB\Diadoc\Api\Proto\Events\DraftDocumentToPatch $value)
    {
        if ($this->DraftDocuments === null) {
            $this->DraftDocuments = new \Protobuf\MessageCollection();
        }

        $this->DraftDocuments->add($value);
    }
public function addDraftDocuments(\AgentSIB\Diadoc\Api\Proto\Events\DraftDocumentToPatch $value)
    {
        if ($this->DraftDocuments === null) {
            $this->DraftDocuments = new \Protobuf\MessageCollection();
        }

        $this->DraftDocuments->add($value);
    }
public function addDraftDocuments ( \ AgentSIB \ Diadoc \ Api \ Proto \ Events \ DraftDocumentToPatch $ value ) { if ( $ this -> DraftDocuments === null ) { $ this -> DraftDocuments = new \ Protobuf \ MessageCollection ( ) ; } $ this -> DraftDocuments -> add ( $ value ) ; }
Add a new element to 'DraftDocuments'

@param \AgentSIB\Diadoc\Api\Proto\Events\DraftDocumentToPatch $value
Add a new element to DraftDocuments