src/Charcoal/Property/FileProperty.php
public function mimetype()
    {
        if (!$this->mimetype) {
            $val = $this->val();

            if (!$val) {
                return '';
            }

            $this->setMimetype($this->mimetypeFor(strval($val)));
        }

        return $this->mimetype;
    }
public function mimetype()
    {
        if (!$this->mimetype) {
            $val = $this->val();

            if (!$val) {
                return '';
            }

            $this->setMimetype($this->mimetypeFor(strval($val)));
        }

        return $this->mimetype;
    }
public function mimetype ( ) { if ( ! $ this -> mimetype ) { $ val = $ this -> val ( ) ; if ( ! $ val ) { return '' ; } $ this -> setMimetype ( $ this -> mimetypeFor ( strval ( $ val ) ) ) ; } return $ this -> mimetype ; }
Retrieve the MIME type.

@return string
Retrieve the MIME type .