private static function __isInvokableStatic($name)
    {
        $classname = get_called_class();
        $reflection_class = new ReflectionClass($classname);
        $properties = $reflection_class->getStaticProperties();
        $property = self::findPropertyNameStatic($name, $classname);
        if (!empty($property)) {
            $reflection = new ReflectionProperty($classname, $property);
            return (bool) !($reflection->isPrivate());
        }
        return true;
    }
private static function __isInvokableStatic($name)
    {
        $classname = get_called_class();
        $reflection_class = new ReflectionClass($classname);
        $properties = $reflection_class->getStaticProperties();
        $property = self::findPropertyNameStatic($name, $classname);
        if (!empty($property)) {
            $reflection = new ReflectionProperty($classname, $property);
            return (bool) !($reflection->isPrivate());
        }
        return true;
    }
private static function __isInvokableStatic ( $ name ) { $ classname = get_called_class ( ) ; $ reflection_class = new ReflectionClass ( $ classname ) ; $ properties = $ reflection_class -> getStaticProperties ( ) ; $ property = self :: findPropertyNameStatic ( $ name , $ classname ) ; if ( ! empty ( $ property ) ) { $ reflection = new ReflectionProperty ( $ classname , $ property ) ; return ( bool ) ! ( $ reflection -> isPrivate ( ) ) ; } return true ; }
Check if a property is statically invokable in the final object

Returns `false` if property access was direct and its scope is not static & public.

@param string $name The property name
@return bool
Check if a property is statically invokable in the final object