src/Api/Proto/Organization.php
public function addDepartments(\AgentSIB\Diadoc\Api\Proto\Department $value)
    {
        if ($this->Departments === null) {
            $this->Departments = new \Protobuf\MessageCollection();
        }

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

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

@param \AgentSIB\Diadoc\Api\Proto\Department $value
Add a new element to Departments