WriterAwareTrait

Trait for shared output functionality.

category

VuFind

package

Harvest_Tools

author

Demian Katz demian.katz@villanova.edu

license

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

link

Wiki

Methods

Set an object to accept console output messages.

setOutputWriter(\VuFindHarvest\ConsoleOutput\WriterInterface $writer) : void

Arguments

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

write(string $str) : void

Arguments

$str

string

String to write.

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

writeLine(string $str) : void

Arguments

$str

string

String to write.

Properties

Writer helper

outputWriter : \VuFindHarvest\ConsoleOutput\WriterInterface