public function getServer($key = null) { return self::get($key, 'server'); }
/** * testServer * * @since 2.2.0 */ public function testServer() { /* setup */ Request::setServer('testKey', 'testValue'); /* result */ $result = Request::getServer('testKey'); /* compare */ $this->assertEquals('testValue', $result); }