VuFindHarvest API Documentation

WriterAwareTrait

Trait for shared output functionality.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

$outputWriter  : WriterInterface
Writer helper
setOutputWriter()  : void
Set an object to accept console output messages.
write()  : void
Write a string to the console output writer (if set).
writeLine()  : void
Write a string w/newline to the console output writer (if set).

Properties

Methods

write()

Write a string to the console output writer (if set).

protected write(string $str) : void
Parameters
$str : string

String to write.

Return values
void

writeLine()

Write a string w/newline to the console output writer (if set).

protected writeLine(string $str) : void
Parameters
$str : string

String to write.

Return values
void

Search results