Pimcore\Model\Asset::getMimetype PHP Method

getMimetype() public method

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

Usage Example

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