lithium\data\entity\Document::__set PHP Метод

__set() публичный Метод

$document->title = 'Lorem Ipsum'. If $value is a complex data type (i.e. associative array), it is wrapped in a sub-Document object before being appended.
public __set ( $name, $value = null ) : void
$name The name of the field/property to write to, i.e. `title` in the above example.
$value The value to write, i.e. `'Lorem Ipsum'`.
Результат void
    public function __set($name, $value = null)
    {
        $this->set(array($name => $value));
    }