lithium\data\Entity::__set PHP Method

__set() public method

$entity->title = 'Lorem Ipsum'.
public __set ( string $name, mixed $value ) : void
$name string The name of the field/property to write to, i.e. `title` in the above example.
$value mixed The value to write, i.e. `'Lorem Ipsum'`.
return void
    public function __set($name, $value)
    {
        unset($this->_increment[$name]);
        $this->_updated[$name] = $value;
    }