PHP oop about class : HI i want to make a code like this .. Can you give me an example on how to implement this ?

$theclassvariable = new Myclass();
$theclassvariable->firstMethod()->secondMethod($param,$param);


  thank you so much


