public function testHas() { $this->repository->set('default::test.has', true); $this->assertTrue($this->liaison->has('test.has')); $this->assertFalse($this->liaison->has('test.hasnt')); }
/** * Prepend the "site" config group and the current site handle * @param $key * @return string */ protected function transformKey($key) { $key = sprintf('site.sites.%s.%s', $this->site->getSiteHandle(), $key); return parent::transformKey($key); }