Exemplo n.º 1
0
 /**
  * 获取内容后缀
  */
 public function getContentFormat()
 {
     if (!$this->contentFormat) {
         $this->contentFormat = MimeType::getSuffix($this->contentType);
     }
     return $this->contentFormat;
 }