public function testGetInstance() { $instance = NamespaceExaminer::getInstance(); $this->assertSame($instance, NamespaceExaminer::getInstance()); NamespaceExaminer::clear(); $this->assertNotSame($instance, NamespaceExaminer::getInstance()); }
/** * @see NamespaceExaminer * * @return boolean * @deprecated since 1.9 and will be removed in 1.11 */ function smwfIsSemanticsProcessed($namespace) { return \SMW\NamespaceExaminer::getInstance()->isSemanticEnabled($namespace); }