private function doDeferredCachedListLookupUpdate(DIWikiPage $subject) { if ($subject->getNamespace() !== SMW_NS_PROPERTY) { return null; } $deferredCallableUpdate = $this->factory->newDeferredCallableCachedListLookupUpdate(); $deferredCallableUpdate->setOrigin(__METHOD__); $deferredCallableUpdate->pushToUpdateQueue(); }
public function testCanConstructDeferredCachedListLookupUpdate() { $instance = new SQLStoreFactory($this->store); $this->assertInstanceOf('SMW\\DeferredCallableUpdate', $instance->newDeferredCallableCachedListLookupUpdate()); }