芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.6/vendor/willdurand/negotiation/src/Negotiation/Accept.php
type === '*') { $this->type = '*/*'; } $parts = explode('/', $this->type); if (count($parts) !== 2 || !$parts[0] || !$parts[1]) { throw new InvalidMediaType(); } $this->basePart = $parts[0]; $this->subPart = $parts[1]; } /** * @return string */ public function getSubPart() { return $this->subPart; } /** * @return string */ public function getBasePart() { return $this->basePart; } }