Add a new element to 'ForwardedDocuments'

@param \AgentSIB\Diadoc\Api\Proto\Forwarding\ForwardedDocument $value
330107
public function addForwardedDocuments(\AgentSIB\Diadoc\Api\Proto\Forwarding\ForwardedDocument $value)
    {
        if ($this->ForwardedDocuments === null) {
            $this->ForwardedDocuments = new \Protobuf\MessageCollection();
        }

        $this->ForwardedDocuments->add($value);
    }
274650
public function addProtoFile(\google\protobuf\FileDescriptorProto $value)
    {
        if ($this->proto_file === null) {
            $this->proto_file = new \Protobuf\MessageCollection();
        }

        $this->proto_file->add($value);
    }
799816
public function fillField($field, $value) {
		$value = $this->fixStepArgument($value);
		$fields = $this->getSession()->getPage()->findAll('named', array(
			'field', $this->getSession()->getSelectorsHandler()->xpathLiteral($field)
		));
		if($fields) foreach($fields as $f) {
			if($f->isVisible()) {
				$f->setValue($value);
				return;
			}
		}

		throw new ElementNotFoundException(
			$this->getSession(), 'form field', 'id|name|label|value', $field
		);
	}
766420
public function addDraftDocuments(\AgentSIB\Diadoc\Api\Proto\Events\DraftDocumentToPatch $value)
    {
        if ($this->DraftDocuments === null) {
            $this->DraftDocuments = new \Protobuf\MessageCollection();
        }

        $this->DraftDocuments->add($value);
    }
79047
protected function addNode(DOMElement $element, $key, $value): void
    {
        $key   = \str_replace(' ', '-', $key);
        $child = $this->element($key);
        $element->appendChild($child);
        $this->convert($child, $value);
    }
1000543
public function addCounteragents(\AgentSIB\Diadoc\Api\Proto\Counteragent $value)
    {
        if ($this->Counteragents === null) {
            $this->Counteragents = new \Protobuf\MessageCollection();
        }

        $this->Counteragents->add($value);
    }
1028234
protected function Add( $value )
	{
	    switch ( $value->GetValueCode() )
	    {
	        case DayTimeDurationProxyFactory::Code:
	        	/**
	        	 * @var DayTimeDurationProxy $value
	        	 */
	        	// Clone the DateValue contained in the proxy or the original is changed
	        	$clone = new TimeValue( clone $this->_value->Value, ! $this->_value->IsLocal );
	        	return new TimeProxy( TimeValue::AddDayTimeDuration( $clone, $value->getValue() ) );
	        	// return new TimeProxy( TimeValue::Add( $this->_value, /* DayTimeDurationValue */ $value->getValue() ) );

	        default:
	            throw XPath2Exception::withErrorCodeAndParams( "XPTY0004", Resources::BinaryOperatorNotDefined,
					array(
						"op:add",
						SequenceType::WithTypeCodeAndCardinality( SequenceType::GetXmlTypeCodeFromObject( $this->_value), XmlTypeCardinality::One ),
						SequenceType::WithTypeCodeAndCardinality( SequenceType::GetXmlTypeCodeFromObject( $value->getValue() ), XmlTypeCardinality::One )
					)
				);
	    }
	}
405355
public function append($selector, $value)
    {
        parent::append($selector, $value);

        // if document saved - save through update
        if ($this->getId()) {
            $this->operator->set($selector, $this->get($selector));
        }

        return $this;
    }
281753
public function setDocumentAccessLevel(\AgentSIB\Diadoc\Api\Proto\DocumentAccessLevel $value = null)
    {
        $this->DocumentAccessLevel = $value;
    }
818075
public function addPaymentDocuments(\AgentSIB\Diadoc\Api\Proto\Invoicing\PaymentDocumentInfo $value)
    {
        if ($this->PaymentDocuments === null) {
            $this->PaymentDocuments = new \Protobuf\MessageCollection();
        }

        $this->PaymentDocuments->add($value);
    }
646258
public function setDocumentStatus(\AgentSIB\Diadoc\Api\Proto\Documents\UnilateralDocument\UnilateralDocumentStatus $value)
    {
        $this->DocumentStatus = $value;
    }
177506
public function setOriginalInvoiceDateAndNumber(\AgentSIB\Diadoc\Api\Proto\Docflow\DocumentDateAndNumber $value)
    {
        $this->OriginalInvoiceDateAndNumber = $value;
    }
662735
public function addExtension($type, $value)
    {
        // get container
        if (!$this->extensionsDomElement) {
            // get extensions tag
            $this->extensionsDomElement = $this->adDomElement->getElementsByTagName('Extensions')->item(0);
            if (!$this->extensionsDomElement) {
                $this->extensionsDomElement = $this->adDomElement->ownerDocument->createElement('Extensions');
                $this->getDomElement()->appendChild($this->extensionsDomElement);
            }
        }

        // Creative dom element
        $extensionDomElement = $this->extensionsDomElement->ownerDocument->createElement('Extension');
        $this->extensionsDomElement->appendChild($extensionDomElement);

        // create cdata
        $cdata = $this->adDomElement->ownerDocument->createCDATASection($value);

        // append
        $extensionDomElement->setAttribute('type', $type);
        $extensionDomElement->appendChild($cdata);

        return $this;
    }
1295059
public function addAddDocumentsToPacket(\AgentSIB\Diadoc\Api\Proto\DocumentId $value)
    {
        if ($this->AddDocumentsToPacket === null) {
            $this->AddDocumentsToPacket = new \Protobuf\MessageCollection();
        }

        $this->AddDocumentsToPacket->add($value);
    }
392822
protected function appendValueToElementToSend($value, \DOMElement $element)
    {
        if ($value instanceof Element) {
            $this->appendElementToElementToSend($value, $element);
        } elseif (is_array($value)) {
            $this->appendValuesToElementToSend($value, $element);
        } elseif (!empty($value)) {
            $element->appendChild(self::getDom()->createTextNode($value));
        }

        return $this;
    }
942608
protected function add($i, $f, $value)
    {
        return Util::adiciona($this->atual, $i, $f, $value);
    }
1121411
public function addRequests(\AgentSIB\Diadoc\Api\Proto\Docflow\GetDocflowRequest $value)
    {
        if ($this->Requests === null) {
            $this->Requests = new \Protobuf\MessageCollection();
        }

        $this->Requests->add($value);
    }