Neos\Flow\ObjectManagement\Proxy\ProxyMethod::getMethodVisibilityString PHP Метод

getMethodVisibilityString() защищенный Метод

Returns the method's visibility string found by the reflection service Note: If the reflection service has no information about this method, 'public' is returned.
protected getMethodVisibilityString ( ) : string
Результат 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';
    }