/**
  * Update the object immediately in DB. This is used for time-sensitive operation such as locks.
  * @param object $modifiedObject
  */
 public function updateNow($modifiedObject)
 {
     parent::update($modifiedObject);
     $this->persistenceManager->persistAll();
 }
Esempio n. 2
0
 /**
  * @test
  * @expectedException Tx_Extbase_Persistence_Exception_IllegalObjectType
  */
 public function updateRejectsObjectsOfWrongType()
 {
     $this->repository->_set('objectType', 'Foo');
     $this->repository->update(new stdClass());
 }