VuFind API Documentation

ConsoleOutputTrait

Console output trait (used to add output support to other classes).

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

$outputInterface  : OutputInterface
Output interface.
setOutputInterface()  : mixed
Set the output interface. Implements a fluent interface.
writeln()  : mixed
Write a line to the output (if available). Implements a fluent interface.

Properties

$outputInterface

Output interface.

protected OutputInterface $outputInterface = null

Methods

setOutputInterface()

Set the output interface. Implements a fluent interface.

public setOutputInterface(OutputInterface $output) : mixed
Parameters
$output : OutputInterface

Output interface

Return values
mixed

writeln()

Write a line to the output (if available). Implements a fluent interface.

public writeln(string $output) : mixed
Parameters
$output : string

Line to output.

Return values
mixed

Search results