static function getGraph($a = '') { return ARC2::getComponent('Graph', $a); }
public function testAddGraphWithNamespaces() { $g2 = ARC2::getGraph()->setPrefix('ex', 'http://example.com/'); $actual = $this->obj->addGraph($g2); $this->assertArrayHasKey('ex', $actual->ns); }