Sets a new adresZamieszkaniaSiedziby

@param \KCH\PCC3\TPodmiotDowolnyType\AdresZamieszkaniaSiedzibyAnonymousType
$adresZamieszkaniaSiedziby
@return self
338208
public function setAdresZamieszkaniaSiedziby(\KCH\PCC3\TPodmiotDowolnyType\AdresZamieszkaniaSiedzibyAnonymousType $adresZamieszkaniaSiedziby)
    {
        $this->adresZamieszkaniaSiedziby = $adresZamieszkaniaSiedziby;
        return $this;
    }
472852
public function indexBy($indexBy)
    {
        if (is_array($indexBy)) {
            $this->select([key($indexBy), current($indexBy)]);
        }

        $this->_index = $indexBy;

        return $this;
    }
1355350
public function setFromType($from_type)
    {
        if ($from_type == $this->from_type) return $this;
        $from_type = strtoupper($from_type);
        if (!isset(self::getAddressTypes()[$from_type])) {
            throw new \InvalidArgumentException(sprintf('The "%s" from_type is not a valid address type.', $from_type));
        }

        $this->from_type = $from_type;
        return $this;
    }
630589
public function setFromADOKey($adokey) {

        // Calculate the XMLDB_KEY
        switch (strtolower($adokey['name'])) {
            case 'primary':
                $this->type = XMLDB_KEY_PRIMARY;
                break;
            default:
                $this->type = XMLDB_KEY_UNIQUE;
        }
        // Set the fields, converting all them to lowercase
        $fields = array_flip(array_change_key_case(array_flip($adokey['columns'])));
        $this->fields = $fields;
        // Some more fields
        $this->loaded = true;
        $this->changed = true;
    }
476888
public function addAllowedType($type)
    {
        $types = $this->getOption('types');
        //brak typów - tworzenie
        if (null === $types) {
            $this->setOption('types', [$type => $type]);
        }
        $types[$type] = $type;
        return $this->setOption('types', $types);
    }
1075406
public function setRegistered($registered): DeliveryOptions
    {
        if (!in_array($registered, static::getOptionsForRegistered())) {
            throw new InvalidArgumentException(
                sprintf('Property %s is not supported for %s', $registered, __FUNCTION__)
            );
        }

        $this->data['registered'] = $registered;

        return $this;
    }
226000
public function setPadType($padType)
    {
        if (!\in_array($padType, [STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH], true)) {
            throw new InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).');
        }

        $this->padType = $padType;

        return $this;
    }
248058
protected function setModelRegistryCatalogTypeIdCriteria($prefix)
    {
        $catalog_type_id = $this->query->getModelRegistry('criteria_catalog_type_id', '');

        if ((int)$catalog_type_id === 0) {
        } elseif (isset($this->model_registry['fields']['catalog_type_id'])) {
            $this->query->where('column', $prefix . '.' . 'catalog_type_id', 'IN', 'integer', $catalog_type_id);
        }

        return $this;
    }
245329
public function setExpiry(int $expiry = 604800) : CNabuDataObject
    {
        if ($expiry === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$expiry")
            );
        }
        $this->setValue('nb_domain_zone_expiry', $expiry);
        
        return $this;
    }
739055
public function addAllowedType($type)
    {
        if (!in_array(strtolower($type), $this->allowedTypes)) {
            $this->allowedTypes[] = strtolower($type);
        }
        return $this;
    }
1195930
public function setDisabledAdjustmentDetails($disabledAdjustmentDetails)
    {
        if (!is_string($disabledAdjustmentDetails) && !is_null($disabledAdjustmentDetails)) {
            throw new \InvalidArgumentException(__CLASS__ . ' ' . __METHOD__ . ': Not a string');
        }

        $this->disabledAdjustmentDetails = $disabledAdjustmentDetails;

        return $this;
    }
458051
public function withType(string $type): self
    {
        $this->type = IdentityProviderEnum::ensureValid($type);
        return $this;
    }
297663
public function setType($type)
    {
        if ($type === null) {
            $type = self::TYPE_UNDEFINED;
        }

        $this->type = $type;

        return $this;
    }
360362
public function setAutoTagValue()
    {
        //brak rekordu
        if (!$this->_form->hasRecord()) {
            return $this;
        }
        //ustawianie wartości
        $this->setValue((new TagRelationModel($this->getOption('object') ? $this->getOption('object') : $this->_form->getFileObjectName(), $this->_form->getRecord()->getPk()))
                ->getTagRelations());
        //zwrot obiektu
        return $this;
    }
1043654
public function setCreatedBy(\WobbleCode\UserBundle\Document\User $createdBy)
    {
        $this->createdBy = $createdBy;
        return $this;
    }
524163
protected function registerVoucherTypeInterface()
	{
		$this->app->bind('Mgallegos\DecimaAccounting\Accounting\Repositories\VoucherType\VoucherTypeInterface', function($app)
		{
			$AuthenticationManager = $app->make('App\Kwaai\Security\Services\AuthenticationManagement\AuthenticationManagementInterface');

			return new \Mgallegos\DecimaAccounting\Accounting\Repositories\VoucherType\EloquentVoucherType(new VoucherType(), $AuthenticationManager->getCurrentUserOrganizationConnection());
		});
	}
244265
public function setType($type)
    {
        if ($this->formHelper->getFieldType($type)) {
            $this->type = $type;
        }

        return $this;
    }