AppserverIo\Appserver\ServletEngine\Http\Part::write PHP Метод

write() публичный Метод

A convenience method to write this uploaded item to disk.
public write ( string $fileName ) : integer
$fileName string The name of the file to which the stream will be written.
Результат integer
    public function write($fileName)
    {
        return file_put_contents($fileName, $this->getInputStream());
    }