Neos\Flow\Persistence\Generic\PersistenceManager::update PHP Method

update() public method

Update an object in the persistence.
public update ( object $object ) : void
$object object The modified object
return void
    public function update($object)
    {
        if ($this->isNewObject($object)) {
            throw new UnknownObjectException('The object of type "' . get_class($object) . '" given to update must be persisted already, but is new.', 1249479819);
        }
        $this->hasUnpersistedChanges = true;
        $this->changedObjects->attach($object);
    }