public function testCanConstructPropertyUsageListLookup()
 {
     $instance = new SQLStoreFactory(new SMWSQLStore3());
     $this->assertInstanceOf('SMW\\SQLStore\\ListLookup\\PropertyUsageListLookup', $instance->newPropertyUsageListLookup(null));
 }
示例#2
0
 /**
  * @param RequestOptions|null $requestOptions
  *
  * @return ListLookup
  */
 public function getPropertiesSpecial($requestOptions = null)
 {
     $propertyUsageListLookup = $this->factory->newPropertyUsageListLookup($requestOptions);
     $cachedListLookup = $this->factory->newCachedListLookup($propertyUsageListLookup, self::$configuration->get('smwgPropertiesCache'), self::$configuration->get('smwgPropertiesCacheExpiry'));
     return $cachedListLookup;
 }