Пример #1
0
 public function getContentType()
 {
     if ($this->contentType == null and $this->filePath != null) {
         $this->contentType = APIClient::getMimeType($this->filePath);
     }
     return $this->contentType;
 }