src/Api/Proto/Events/MessageToPost.php
public function addContracts(\AgentSIB\Diadoc\Api\Proto\Events\ContractAttachment $value)
    {
        if ($this->Contracts === null) {
            $this->Contracts = new \Protobuf\MessageCollection();
        }

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

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

@param \AgentSIB\Diadoc\Api\Proto\Events\ContractAttachment $value
Add a new element to Contracts