I have been trying to figure out how to go about doing this but I am not quite sure how.
I want 2 sepreate function to only be executed in one function at the same time. Here is an example of what I am trying to do:
class test {
public function executeTests(){
$this->test1;
$this->test2;
}
private function test1(){
//function doing something
}
private function test2(){
//function doing sommething else
}
Aucun commentaire:
Enregistrer un commentaire