HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/doccure-wp/wp-content/plugins/wp-mail-logging/src/FS/IFilesystem.php
<?php

namespace No3x\WPML\FS;

interface IFilesystem
{
    /**
    * Tells whether the filename is a regular file
    * @link https://php.net/manual/en/function.is-file.php
    * @param string $filename <p>
    * Path to the file.
    * </p>
    * @return bool true if the filename exists and is a regular file, false
    */
    function is_file ($filename);

    /**
     * Detect MIME Content-type for a file
     * @link https://php.net/manual/en/function.mime-content-type.php
     * @param string $filename <p>
     * Path to the tested file.
     * </p>
     * @return string the content type in MIME format, like
     * text/plain or application/octet-stream.
     */
    function mime_content_type ($filename);
}