Or:
Показать файл Открыть проект Примеры использования класса
Метод | Описание | |
---|---|---|
chain ( Reader $reader ) : object | Creates a new PrefixLines filter using the passed in Reader for instantiation. | |
getPrefix ( ) : string | Returns the prefix which will be added at the start of each input line. | |
read ( $len = null ) : mixed | Adds a prefix to each line of input stream and returns resulting stream. | |
setPrefix ( string $prefix ) | Sets the prefix to add at the start of each input line. |
Метод | Описание | |
---|---|---|
_initialize ( ) | Initializes the prefix if it is available from the parameters. |