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);
    }