PHP 8.3.31
Preview: UploadedFileFactoryInterface.php Size: 1.10 KB
/home/getspomw/royalsquad.us/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php

<?php

namespace Psr\Http\Message;

interface UploadedFileFactoryInterface
{
    /**
     * Create a new uploaded file.
     *
     * If a size is not provided it will be determined by checking the size of
     * the file.
     *
     * @see http://php.net/manual/features.file-upload.post-method.php
     * @see http://php.net/manual/features.file-upload.errors.php
     *
     * @param StreamInterface $stream Underlying stream representing the
     *     uploaded file content.
     * @param int|null $size in bytes
     * @param int $error PHP file upload error
     * @param string|null $clientFilename Filename as provided by the client, if any.
     * @param string|null $clientMediaType Media type as provided by the client, if any.
     *
     * @return UploadedFileInterface
     *
     * @throws \InvalidArgumentException If the file resource is not readable.
     */
    public function createUploadedFile(
        StreamInterface $stream,
        ?int $size = null,
        int $error = \UPLOAD_ERR_OK,
        ?string $clientFilename = null,
        ?string $clientMediaType = null
    ): UploadedFileInterface;
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
499 B lrw-rw-rw- 2025-09-17 06:53:12
Edit Download
546 B lrw-rw-rw- 2025-09-17 06:53:12
Edit Download
927 B lrw-rw-rw- 2025-09-17 06:53:12
Edit Download
1.38 KB lrw-rw-rw- 2025-09-17 06:53:12
Edit Download
1.10 KB lrw-rw-rw- 2025-09-17 06:53:12
Edit Download
325 B lrw-rw-rw- 2025-09-17 06:53:12
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).