File manager - Edit - /home/buyherba/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/Utils/FileWrapper.php
Back
<?php declare (strict_types=1); namespace WPForms\Vendor\Square\Utils; use WPForms\Vendor\Core\Types\Sdk\CoreFileWrapper; /** * Wraps file with mime-type and filename to be sent as part of an HTTP request. */ class FileWrapper extends CoreFileWrapper { /** * Create FileWrapper instance from a file on disk */ public static function createFromPath(string $realFilePath, ?string $mimeType = null, ?string $filename = '') : self { return new self($realFilePath, $mimeType, $filename); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.08 |
proxy
|
phpinfo
|
Settings