Iam calling a method from another method in the same class.I used to return value from the second method.but whenever am calling that function from first method,it prints the value that am returning from the second method,and it stops execution.Anyone please help me.
first method:
public function firstMethod(){
$this->secondMethod();
dd('ok');
}
second method:
public function secondMethod(){
return 'true';
}
when the execution begin..,it prints 'true'.Help please....thanks in advance :).
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire