Set the value of PasswordHash / password_hash
@param $value string
@return Contact
177361
public function setPasswordHash(?string $value) : Contact
    {

        if ($this->data['password_hash'] !== $value) {
            $this->data['password_hash'] = $value;
            $this->setModified('password_hash');
        }

        return $this;
    }
662977
public function setCoreAllowMultipleEmails($value)
    {
        $this->setFieldName('allow_multiple_emails');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
60481
public function setCompany(?string $value) : Contact
    {

        if ($this->data['company'] !== $value) {
            $this->data['company'] = $value;
            $this->setModified('company');
        }

        return $this;
    }
291717
public function setValue($value) {
		if(is_array($this->content)){
			foreach ($this->content as $i=>$content){
				if(is_string($content)){
					$this->content[$i]=$value;
					return $this;
				}
			}
		}
		$this->content=$value;
		return $this;
	}
1127666
public function setCoreMailSmtpPrefix($value)
    {
        $this->setFieldName('mail_smtp_prefix');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
611249
public function setKey(string $value) : Setting
    {

        if ($this->data['key'] !== $value) {
            $this->data['key'] = $value;
            $this->setModified('key');
        }

        return $this;
    }
1208286
public function setCustomerEmail($value)
    {
        if ($value !== null && filter_var($value, FILTER_VALIDATE_EMAIL) === false) {
            throw new ErrorParameter('Please, enter a valid email');
        }

        $this->customer_email = $value;
        return $this;
    }
478870
public function setValue($value)
    {
        $this->_value = $value;
        $this->getInput()->setValue($value);
        return $this;
    }
46518
public function setValue($value, $data = null)
    {
        // If $data is a DataObject, don't use the value, since it's a hashed value
        if ($data && $data instanceof DataObject) {
            $value = '';
        }

        //store this for later
        $oldValue = $this->value;

        if (is_array($value)) {
            $this->value = $value['_Password'];
            $this->confirmValue = $value['_ConfirmPassword'];
            $this->currentPasswordValue = ($this->getRequireExistingPassword() && isset($value['_CurrentPassword']))
                ? $value['_CurrentPassword']
                : null;

            if ($this->showOnClick && isset($value['_PasswordFieldVisible'])) {
                $this->getChildren()->fieldByName($this->getName() . '[_PasswordFieldVisible]')
                    ->setValue($value['_PasswordFieldVisible']);
            }
        } else {
            if ($value || (!$value && $this->canBeEmpty)) {
                $this->value = $value;
                $this->confirmValue = $value;
            }
        }

        //looking up field by name is expensive, so lets check it needs to change
        if ($oldValue != $this->value) {
            $this->getChildren()->fieldByName($this->getName() . '[_Password]')
                ->setValue($this->value);

            $this->getChildren()->fieldByName($this->getName() . '[_ConfirmPassword]')
                ->setValue($this->confirmValue);
        }

        return $this;
    }
76163
public function setPassword( $value )
	{
		if( (string) $value !== $this->getPassword() )
		{
			if( $this->helper !== null ) {
				$value = $this->helper->encode( $value, $this->getSalt() );
			}

			$this->values['customer.password'] = (string) $value;
			$this->setModified();
		}

		return $this;
	}
58951
public function setFrom($value)
    {
        if (is_array($value)) {
            $value = new Person($value);
        }
        return $this->setParameter('from', $value);
    }
1064613
protected function parseIsPasswordGrantEnabled(string $value): Client
    {
        $value === '1' ? $this->enablePasswordGrant() : $this->disablePasswordGrant();

        return $this;
    }
652996
public function removeDealerContactInfoId($value)
    {
        $targetArray = array();
        foreach ($this->getDealerContactInfoIds() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setDealerContactInfoIds($targetArray);

        return $this;
    }
778102
public function setCoreMailUseSmtp($value)
    {
        $this->setFieldName('mail_use_smtp');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
132511
public function setCoreMailSmtpKeepalive($value)
    {
        $this->setFieldName('mail_smtp_keepalive');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
111192
public function setCoreMailSmtpUser($value)
    {
        $this->setFieldName('mail_smtp_user');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1370164
public function setFirstName(?string $value) : Contact
    {

        if ($this->data['first_name'] !== $value) {
            $this->data['first_name'] = $value;
            $this->setModified('first_name');
        }

        return $this;
    }