Neos\Flow\Persistence\Generic\PersistenceManager::update PHP Метод

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

Update an object in the persistence.
public update ( object $object ) : void
$object object The modified object
Результат 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);
    }