Set $value for class property or $properties (if class property don't exist) by $name
Value will be overridden
@param string $name Property name
@param mixed $value Property value
@return bool True on success
175703
public function set(string $name, $value)
    {
        if (empty($name)) {
            return false;
        }

        if (isset($this->{$name})) {
            $this->{$name} = $value;
        } else {
            $this->properties[$name] = $value;
        }

        return true;
    }
214666
protected function setProperty($name, $value)
    {
        // adds both camelized key and unchanged key to properties
        $this->properties[str_replace(' ', '', ltrim(ucwords(preg_replace('/[^A-Z^a-z^0-9]+/', ' ', 'z' . $name)), 'Z'))] = $value;
        $this->properties[str_replace(' ', '', ucwords(preg_replace('/[^A-Z^a-z^0-9]+/', ' ', $name)))] = $value;
        $this->properties[$name] = $value;
    }
405209
@Override
    public boolean setProperty(String name, Object value)
    {
        /* Note: can not call local method, since it'll return false for
         * recognized but non-mutable properties
         */
        return mConfig.setProperty(name, value);
    }
1091526
protected function setProperty(&$object, $name, $value)
    {
        $property = $this->getPropertyInstance($object, $name);
        $oldValue = $property->getValue($object);
        $property->setValue($object, $value);

        return $oldValue;
    }
110576
public function set($name, $value)
	{
		if (is_string($value) && class_exists($value)) {
			return $this->container->bind($name, $value);
		}

		return $this->container->set($name, $value);
	}
271389
public function setCustomProperty(string $name, $value)
    {
        $customProperties = $this->custom_properties;

        Arr::set($customProperties, $name, $value);

        $this->custom_properties = $customProperties;

        return $this;
    }
978123
public static function set(string $name, $value)
    {
        $names = Imi::parseDotRule($name);
        if (isset($names[0]))
        {
            $first = array_shift($names);
            if(isset(static::$configs[$first]))
            {
                return static::$configs[$first]->setVal($names, $value);
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
940682
public function set($name, $value)
    {
        parent::set($name, $value);

        $_SESSION[$name] = $value;

        return $this;
    }
1325558
public function _set($name, $value)
    {
        $object = $this->getObject();
		$callable = function() use ($name, $value, $object) {
			if (!property_exists($object, $name) && !method_exists($object, '__set'))
			{
				throw new \Exception('Property ' . $name . ' doesn\'t exist on object of class ' . get_class($object));
			}
			$object->$name = $value;
		};
		$this->breakScopeAndExecute($callable);
    }
298400
public function setAnyStaticPropertyValue($name, $value)
    {
        $property = $this->getProperty($name);
        $property->setAccessible(true);

        $property->setValue($value);

        return $this;
    }
710722
public function setProperty($name, $value)
    {
        if (is_null($value)) {
            unset($this->_properties[$name]);
        } else {
            $this->_properties[$name] = $value;
        }
        return $this;
    }
781178
public function setProperty($name, $value)
    {
        if (strstr($name, '.')) {
            $this->setPropertyByPath($name, $value);

            return true;
        }

        if ($this->isArray()) {
            $this->object[$name] = $value;
        } else {
            $this->object->$name = $value;
        }

        return true;
    }
220768
public function set($name, $value)
  {
    if (is_null($value)) {
      unset($this->vars[$name]);
    } else {
      $this->vars[$name] = $value;
    }

    return $this;
  }
16285
public function _set($_name,$_value)
    {
        $setMethod = 'set' . ucfirst($_name);
        if(method_exists($this,$setMethod))
        {
            $this->$setMethod($_value);
            return true;
        }
        else
            return false;
    }
301187
public static function set($name, $value)
    {
        if (! strstr($name, '.')) {
            return false;
        }

        $parts = explode('.', $name, 2);
        $section = $parts[0];
        $key = $parts[1];

        self::getInstance()->add($section, array($key => $value));

        return true;
    }
580732
public function set(string $name, $value)
    {
        if (! array_key_exists($name, $this->map)) {
            throw new \InvalidArgumentException("Setting $name does not exists");
        }
        $this->map[$name] = $value;
    }
956642
public function set($name, $value)
    {
        if (!$this->has($name)) {
            $this->vars[$name] = $value;
        } else {
            return false;
        }
    }