Pimcore\Model\Asset::getMimetype PHP Метод

getMimetype() публичный Метод

public getMimetype ( ) : string
Результат string
    public function getMimetype()
    {
        return $this->mimetype;
    }

Usage Example

Пример #1
0
 /**
  * Returns the mimetype of the asset
  *
  * @return string
  */
 function getContentType()
 {
     return $this->asset->getMimetype();
 }