Метод | Описание | |
---|---|---|
__construct ( array $data, string | null $suffix = null, $prefix = null, string | null $directory = null, string | null $encoding = 'UTF-8' ) | Constructor |
public __construct ( array $data, string | null $suffix = null, $prefix = null, string | null $directory = null, string | null $encoding = 'UTF-8' ) | ||
$data | array | the form data as name => value |
$suffix | string | null | the optional suffix for the tmp file |
$directory | string | null | directory where the file should be created. Autodetected if not provided. |
$encoding | string | null | of the data. Default is 'UTF-8'. |