Translatable
Properties
$params protected
php
protected array $params$text
php
public string $textMethods
__construct()
php
public function __construct(string $text, array $params = [])format()
php
public function format(string $before, string $after) : selfgetParameter()
php
public function getParameter(int|string $i) : \pocketmine\lang\Translatable|string|nullgetParameters()
php
public function getParameters() : arraygetText()
php
public function getText() : stringpostfix()
php
public function postfix(string $postfix) : selfprefix()
php
public function prefix(string $prefix) : self