public function testGettingKeys() { $t = TreeStore::create($this->data, 'Role'); static::assertEquals('1.0.0', $t->get('version', 'structure')); static::assertEquals('ROLE_ROOT', $t->get('data', 1, 'name')); static::assertNull($t->get('does', 'not', 'exist')); }
/** * @internal * * @return string */ public function getTreeStore() { return TreeStore::create((array) $this->data, (string) $this->name); }