| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nice/libraries/CBLib/Imagine/File/ |
Upload File : |
<?php
/*
* This file is part of the Imagine package.
*
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Imagine\File;
/**
* Interface for classes that can load local or remote files.
*/
interface LoaderInterface
{
/**
* Is this a local file.
*
* @return bool
*/
public function isLocalFile();
/**
* Get the path of the file (local or remote).
*
* @return string
*/
public function getPath();
/**
* Is the binary content already loaded?
*
* @return bool
*/
public function hasReadData();
/**
* Get the file binary contents.
*
* @return string
*/
public function getData();
/**
* The string representation of this object must be the file path (local or remote).
*
* @return string
*/
public function __toString();
}