/var/www/html_fr/wp-content/plugins/fluent-smtp/includes/Support/Contracts/FileInterface.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

namespace FluentMail\Includes\Support\Contracts;

interface 
FileInterface
{
    
/**
     * Returns whether the file was uploaded successfully.
     *
     * @return bool
     */
    
public function isValid();

    
/**
     * Gets the path without filename
     *
     * @return string
     */
    
public function getPath();

    
/**
     * Take an educated guess of the file's extension.
     *
     * @return mixed|null
     */
    
public function guessExtension();

    
/**
     * Returns the original file extension.
     *
     * @return string
     */
    
public function getClientOriginalExtension();
}