I am tying to do following
class abc{
public function abc(){
someFunction(){
now here I can not call bcg function like due to scope of function
function bcg(){
$this->bcg();
}
}
}
public function bcg(){
...
}
}
Now my question is how to pass object of current class to function which in method of class ?