mirror of
https://github.com/inigoflores/ds-codigos-postales-ine-es.git
synced 2024-06-07 21:55:24 +02:00
32 lines
624 B
PHP
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);
|
|
}
|