Version 5.0.0 beta 2
This commit is contained in:
1 parent
15c7beabc5
commit
f61b0da85d
181 files changed
+3182
-1533
No files matched your search
@@ -51,6 +51,11 @@ abstract class File
|
||||
* @var string|null
|
||||
*/
|
||||
public ?string $contextInfo;
|
||||
|
||||
/**
|
||||
* @var mixed|null
|
||||
*/
|
||||
public mixed $screenshot = null;
|
||||
|
||||
/**
|
||||
* Get available storage handlers
|
||||
@@ -402,7 +407,7 @@ abstract class File
|
||||
* @throws DomainException
|
||||
* @throws RuntimeException
|
||||
*/
|
||||
public static function createFromUploads( string $storageLocation, ?string $fieldName=NULL, ?array $allowedFileTypes=NULL, int|float $maxFileSize=NULL, ?int $totalMaxSize=NULL, int $flags=0, array|callable|null $callback=NULL, ?string $container=NULL, bool $obscure=TRUE ) : array
|
||||
public static function createFromUploads( string $storageLocation, ?string $fieldName=NULL, ?array $allowedFileTypes=NULL, int|float $maxFileSize=NULL, int|float $totalMaxSize=NULL, int $flags=0, array|callable|null $callback=NULL, ?string $container=NULL, bool $obscure=TRUE ) : array
|
||||
{
|
||||
/* Do we have any uploads? */
|
||||
if( empty( $_FILES ) )
|
||||
|
||||
Reference in new issue
Block a user