public function testCanConstructUndeclaredPropertyListLookup() { $instance = new SQLStoreFactory(new SMWSQLStore3()); $this->assertInstanceOf('SMW\\SQLStore\\ListLookup\\UndeclaredPropertyListLookup', $instance->newUndeclaredPropertyListLookup(null, '_foo')); }
/** * @param RequestOptions|null $requestOptions * * @return ListLookup */ public function getWantedPropertiesSpecial($requestOptions = null) { $undeclaredPropertyListLookup = $this->factory->newUndeclaredPropertyListLookup($requestOptions, self::$configuration->get('smwgPDefaultType')); $cachedListLookup = $this->factory->newCachedListLookup($undeclaredPropertyListLookup, self::$configuration->get('smwgWantedPropertiesCache'), self::$configuration->get('smwgWantedPropertiesCacheExpiry')); return $cachedListLookup; }