Pimcore\Model\Asset::getMimetype PHP Méthode

getMimetype() public méthode

public getMimetype ( ) : string
Résultat string
    public function getMimetype()
    {
        return $this->mimetype;
    }

Usage Example

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