PHP Class pocketmine\command\CommandReader

Inheritance: extends pocketmine\Thread
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Protected Properties

Свойство Type Description
$buffer Threaded

Méthodes publiques

Méthode Description
__construct ( $logger )
getLine ( ) : string | null Reads a line from console, if available. Returns null if not available
getThreadName ( )
quit ( )
run ( )
shutdown ( )

Private Methods

Méthode Description
readLine ( )
readline_callback ( $line )

Method Details

__construct() public méthode

public __construct ( $logger )

getLine() public méthode

Reads a line from console, if available. Returns null if not available
public getLine ( ) : string | null
Résultat string | null

getThreadName() public méthode

public getThreadName ( )

quit() public méthode

public quit ( )

run() public méthode

public run ( )

shutdown() public méthode

public shutdown ( )

Property Details

$buffer protected_oe property

protected Threaded $buffer
Résultat Threaded