Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Aug 16, 2019

Move all public methods to Stdio as is, so the recommend way to call these methods now looks like this:

// old
$stdio->getReadline()->setPrompt('> ');

// new
$stdio->setPrompt('> ');

The original methods continue to exist and work unchanged until the next major release, at which point the Readline class will potentially be removed.

@clue clue added this to the v2.3.0 milestone Aug 16, 2019
@clue clue merged commit a5be795 into clue:master Aug 16, 2019
@clue clue deleted the deprecate-readline branch August 16, 2019 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant