PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
woocommerce-pos / vendor_prefixed / psr / http-factory / src / UploadedFileFactoryInterface.php

UploadedFileFactoryInterface.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.20, at vendor_prefixed/psr/http-factory/src/UploadedFileFactoryInterface.php

29 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WCPOS\Vendor\Psr\Http\Message;
4
5 interface UploadedFileFactoryInterface
6 {
7 /**
8 * Create a new uploaded file.
9 *
10 * If a size is not provided it will be determined by checking the size of
11 * the file.
12 *
13 * @see http://php.net/manual/features.file-upload.post-method.php
14 * @see http://php.net/manual/features.file-upload.errors.php
15 *
16 * @param StreamInterface $stream Underlying stream representing the
17 * uploaded file content.
18 * @param int|null $size in bytes
19 * @param int $error PHP file upload error
20 * @param string|null $clientFilename Filename as provided by the client, if any.
21 * @param string|null $clientMediaType Media type as provided by the client, if any.
22 *
23 * @return UploadedFileInterface
24 *
25 * @throws \InvalidArgumentException If the file resource is not readable.
26 */
27 public function createUploadedFile(StreamInterface $stream, ?int $size = null, int $error = \UPLOAD_ERR_OK, ?string $clientFilename = null, ?string $clientMediaType = null) : UploadedFileInterface;
28 }
29