????

Your IP : 18.222.146.130


Current Path : /home/thenclexdoctor.com/public_html/vendor/laminas/laminas-diactoros/src/
Upload File :
Current File : /home/thenclexdoctor.com/public_html/vendor/laminas/laminas-diactoros/src/UploadedFileFactory.php

<?php

declare(strict_types=1);

namespace Laminas\Diactoros;

use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UploadedFileFactoryInterface;
use Psr\Http\Message\UploadedFileInterface;

use const UPLOAD_ERR_OK;

class UploadedFileFactory implements UploadedFileFactoryInterface
{
    /**
     * {@inheritDoc}
     */
    public function createUploadedFile(
        StreamInterface $stream,
        ?int $size = null,
        int $error = UPLOAD_ERR_OK,
        ?string $clientFilename = null,
        ?string $clientMediaType = null
    ): UploadedFileInterface {
        if ($size === null) {
            $size = $stream->getSize();
        }

        return new UploadedFile($stream, $size, $error, $clientFilename, $clientMediaType);
    }
}

Page not found | The NCLEX Doctor

Page not found!

Sorry, this page is not available...