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