WordPress at a glance
function is not described

WP_Admin_Bar::__get() public WP 1.0

It's a method of the class: WP_Admin_Bar{}

No Hooks.

Return

String/Array/null.

Usage

$WP_Admin_Bar = new WP_Admin_Bar();
$WP_Admin_Bar->__get( $name );
$name(string) (required)

Code of WP_Admin_Bar::__get() WP 5.5.1

<?php
public function __get( $name ) {
	switch ( $name ) {
		case 'proto':
			return is_ssl() ? 'https://' : 'http://';

		case 'menu':
			_deprecated_argument( 'WP_Admin_Bar', '3.3.0', 'Modify admin bar nodes with WP_Admin_Bar::get_node(), WP_Admin_Bar::add_node(), and WP_Admin_Bar::remove_node(), not the <code>menu</code> property.' );
			return array(); // Sorry, folks.
	}
}