Hi, I wanted to know what structure the class should have so that once instantiated, several methods can be executed in a single line, for example I saw in several CMS or projects this:
$NombreClase = new NombreClase();
$NombreClase->crearTexto('algo')->convertirAMatusculas()->hacerOtraCosa();
This, how is it done? What structure does the class have to have or what properties must each method have?
Greetings