- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
616 B
PHP
Executable File
35 lines
616 B
PHP
Executable File
<?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();
|
|
}
|