src/Api/Proto/Documents/Document.php
public function addCustomData(\AgentSIB\Diadoc\Api\Proto\CustomDataItem $value)
    {
        if ($this->CustomData === null) {
            $this->CustomData = new \Protobuf\MessageCollection();
        }

        $this->CustomData->add($value);
    }
public function addCustomData(\AgentSIB\Diadoc\Api\Proto\CustomDataItem $value)
    {
        if ($this->CustomData === null) {
            $this->CustomData = new \Protobuf\MessageCollection();
        }

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

@param \AgentSIB\Diadoc\Api\Proto\CustomDataItem $value
Add a new element to CustomData