Skip to content

ConsoleReader ​

final class · pocketmine\console\ConsoleReader · source

Methods ​

__construct() ​

php
public function __construct()

__destruct() ​

php
public function __destruct()

readLine() ​

php
public function readLine() : ?string

Reads a line from the console and adds it to the buffer. This method may block the thread.

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.