src/Fuz/Component/SharedMemory/SharedMemory.php
public function set($property, $value)
    {
        $this->storage->openWriter();
        $object = $this->getObjectSafely('openWriter');
        $data = $object->getData();
        $data->{$property} = $value;
        $object->setData($data);
        $this->storage->setObject($object);
        $this->storage->close();
        return $value;
    }
public function set($property, $value)
    {
        $this->storage->openWriter();
        $object = $this->getObjectSafely('openWriter');
        $data = $object->getData();
        $data->{$property} = $value;
        $object->setData($data);
        $this->storage->setObject($object);
        $this->storage->close();
        return $value;
    }
public function set ( $ property , $ value ) { $ this -> storage -> openWriter ( ) ; $ object = $ this -> getObjectSafely ( 'openWriter' ) ; $ data = $ object -> getData ( ) ; $ data -> { $ property } = $ value ; $ object -> setData ( $ data ) ; $ this -> storage -> setObject ( $ object ) ; $ this -> storage -> close ( ) ; return $ value ; }
Add a new property to the shared object.

@access public
@param mixed $property
@param mixed $value
@return self
@throws \Exception
Add a new property to the shared object .