我有一个在某个类中定义的受保护函数。我想能够在该类外的另一个函数中调用此受保护函数。是否可能实现这一点,如果可以,如何实现?
class cExample{
protected function funExample(){
//functional code goes here
return $someVar
}//end of function
}//end of class
function outsideFunction(){
//Calls funExample();
}