/**
 * Append the given values to the string.
 *
 * @param  string[] $values Values
 *
 * @return self Returns instance of The Strings class.
 */
public function append(string ...$values): self

Examples

$string = Strings::create('PLAY HARD.')->append('WORK HARD. ');

echo $string;

The above example will output:

PLAY HARD. WORK HARD.

Getting Started

Methods