public function testCanConstructPropertyUsageListLookup() { $instance = new SQLStoreFactory(new SMWSQLStore3()); $this->assertInstanceOf('SMW\\SQLStore\\ListLookup\\PropertyUsageListLookup', $instance->newPropertyUsageListLookup(null)); }
/** * @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; }