public function supportsExif() {
        return $this->_cache(__FUNCTION__, function($file) {
            /** @type \Transit\File $file */

            if (!$file->isImage()) {
                return false;
            }

            return in_array($file->type(), array('image/jpeg', 'image/tiff'));
        });
    }
public function supportsExif() {
        return $this->_cache(__FUNCTION__, function($file) {
            /** @type \Transit\File $file */

            if (!$file->isImage()) {
                return false;
            }

            return in_array($file->type(), array('image/jpeg', 'image/tiff'));
        });
    }
public function supportsExif ( ) { return $ this -> _cache ( __FUNCTION__ , function ( $ file ) { /** @type \Transit\File $file */ if ( ! $ file -> isImage ( ) ) { return false ; } return in_array ( $ file -> type ( ) , array ( 'image/jpeg' , 'image/tiff' ) ) ; } ) ; }
Checks if the file supports exif data.

@return bool
Checks if the file supports exif data .