GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
TextContainer Class Reference

Public Member Functions

 __construct ($text)
 
 setText ($text)
 
 getText ()
 
 __toString ()
 

Protected Attributes

 $text
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $text)

TextContainer constructor.

Parameters
$text
34  {
35  $this->text = $text;
36  }

Member Function Documentation

◆ __toString()

__toString ( )
Returns
string
55  {
56  return $this->getText();
57  }

◆ getText()

getText ( )
Returns
string
48  {
49  return $this->text;
50  }

◆ setText()

setText (   $text)
Parameters
$text
41  {
42  $this->text = $text;
43  }

Field Documentation

◆ $text

$text
protected

The documentation for this class was generated from the following file: