_version = $version; return $this; } /** * @return VersionInterface */ public function getVersion() { return $this->_version; } /** * @param array * @return array */ public function doHandshake(array $headers) { $this->_hands_shook = true; return $this->_version->handshake($headers); } /** * @return bool */ public function isHandshakeComplete() { return $this->_hands_shook; } }