AnonSec Shell
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/libraries/vendor/php-tuf/php-tuf/src/Loader/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/libraries/vendor/php-tuf/php-tuf/src/Loader/LoaderInterface.php
<?php

namespace Tuf\Loader;

use GuzzleHttp\Promise\PromiseInterface;

/**
 * Defines an interface to load data as a stream.
 *
 * The data source can be anything, from anywhere, but it must be returned as an
 * implementation of \Psr\Http\Message\StreamInterface.
 *
 * This is an internal interface used to load untrusted data! External code
 * should not use this directly, but instead rely on \Tuf\Client\Updater to
 * load TUF-verified data.
 */
interface LoaderInterface
{
    /**
     * Loads data as a stream.
     *
     * @param string $locator
     *   A string identifying the data to load. The meaning of this depends on
     *   the implementing class; it could be a URL, a relative or absolute file
     *   path, or something else.
     * @param int $maxBytes
     *   The maximum number of bytes that should be read from the data source.
     *
     * @return \GuzzleHttp\Promise\PromiseInterface<\Psr\Http\Message\StreamInterface>
     *   A promise wrapping a data stream.
     *
     * @throws \Tuf\Exception\RepoFileNotFound
     *   If the data cannot be found.
     */
    public function load(string $locator, int $maxBytes): PromiseInterface;
}

Anon7 - 2022
AnonSec Team