ds-codigos-postales-ine-es/scripts/ine/vendor/maximebf/consolekit/src/ConsoleKit/TextWriter.php
2016-11-14 21:46:43 +01:00

32 lines
624 B
PHP

<?php
/*
* This file is part of the ConsoleKit package.
*
* (c) 2012 Maxime Bouroumeau-Fuseau
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ConsoleKit;
interface TextWriter
{
const STDOUT = 'stdout';
const STDERR = 'stderr';
/**
* Outputs text
*
* @param string $text
*/
function write($test, $pipe = TextWriter::STDOUT);
/**
* Outputs text followed by a line break
*
* @param string $text
*/
function writeln($test = '', $pipe = TextWriter::STDOUT);
}