![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/oneup/uploader-bundle/src/Uploader/File/ |
<?php declare(strict_types=1); namespace Oneup\UploaderBundle\Uploader\File; use Symfony\Component\HttpFoundation\File\File; /** * Every function in this interface should be considered unsafe. * They are only meant to abstract away some basic file functionality. * For safe methods rely on the parent functions. * * Interface FileInterface */ interface FileInterface { /** * Returns the size of the file. * * @return int */ public function getSize(); /** * Returns the path of the file. * * @return string */ public function getPathname(); /** * Return the path of the file without the filename. * * @return string|null */ public function getPath(); /** * Returns the guessed mime type of the file. * * @return string */ public function getMimeType(); /** * Returns the basename of the file. * * @return string */ public function getBasename(); /** * Returns the guessed extension of the file. */ public function getExtension(): string; /** * @return mixed */ public function getFileSystem(); }