/**
 * Return Strings object as string.
 *
 * @return string Returns strings object as string.
 */
public function toString(): string

Examples

$string = Strings::create('hello world')->toString();

echo $string;

The above example will output:

hello world

Getting Started

Methods