\DephpugReadline

Class to get the readline with history

Summary

Methods
Properties
Constants
load()
scan()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$historyFile
$lastLine
N/A

Properties

$historyFile

$historyFile : 

File configured in config file to save the history

Type

$lastLine

$lastLine : 

Save the last command used

Type

Methods

load()

load(string  $historyFile) : void

Load the history file

Parameters

string $historyFile

Path to history file

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

scan()

scan(string  $msg = '(dbgp) => ') : string

Ask to user with a default message

Parameters

string $msg
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

string —

$line