protected getMethodVisibilityString ( ) : string | ||
return | string | One of 'public', 'protected' or 'private' |
protected function getMethodVisibilityString()
{
if ($this->reflectionService->isMethodProtected($this->fullOriginalClassName, $this->methodName)) {
return 'protected';
} elseif ($this->reflectionService->isMethodPrivate($this->fullOriginalClassName, $this->methodName)) {
return 'private';
}
return 'public';
}