69. Class

69.1. Zend\Console\Adapter\Virtual

Virtual buffer adapter

69.1.1. Methods

69.1.1.1. getWidth

getWidth()

Determine and return current console width.

Return type:int

69.1.1.2. getHeight

getHeight()

Determine and return current console height.

Return type:false|int

69.1.1.3. runProbeCommand

runProbeCommand()

Run and store the results of mode command

Return type:void

69.1.1.4. isUtf8

isUtf8()

Check if console is UTF-8 compatible

Return type:bool

69.1.1.5. setPos

setPos()

Set cursor position

Parameters:
  • int
  • int

69.1.1.6. getTitle

getTitle()

Return current console window title.

Return type:string

69.1.1.7. setCharset

setCharset()

Set Console charset to use.

Parameters:CharsetCharsetInterface

69.1.1.8. getCharset

getCharset()

Get charset currently in use by this adapter.

Return type:CharsetCharsetInterface $charset

69.1.1.9. getDefaultCharset

getDefaultCharset()

@return CharsetAsciiExtended

69.1.1.10. switchToUtf8

switchToUtf8()

Switch to UTF mode

Return type:void