Documentation

FileOutput
in package
implements OutputInterface

File output implementation that writes to a file.

Table of Contents

Interfaces

OutputInterface
Interface for output destination abstraction.

Properties

$fileHandle  : resource

Methods

__construct()  : mixed
__destruct()  : mixed
write()  : void
Write content to the output destination.
writeLine()  : void
Write content to the output destination with a newline.

Properties

Methods

__construct()

public __construct(string $filePath) : mixed
Parameters
$filePath : string

write()

Write content to the output destination.

public write(string $content) : void
Parameters
$content : string

writeLine()

Write content to the output destination with a newline.

public writeLine(string $content) : void
Parameters
$content : string

        
On this page

Search results