/** * Return status of the concept cache for the given concept as an array * with key 'status' ('empty': not cached, 'full': cached, 'no': not * cachable). If status is not 'no', the array also contains keys 'size' * (query size), 'depth' (query depth), 'features' (query features). If * status is 'full', the array also contains keys 'date' (timestamp of * cache), 'count' (number of results in cache). * * @since 1.8 * @param Title|SMWWikiPageValue $concept * * @return DIConcept|null */ public function getConceptCacheStatus($concept) { return $this->factory->newSlaveConceptCache()->getStatus($concept); }
public function testNewSlaveConceptCache() { $instance = new SQLStoreFactory(new SMWSQLStore3()); $this->assertInstanceOf('SMW\\SQLStore\\ConceptCache', $instance->newSlaveConceptCache()); }