Elgg\Application::__get PHP Method

__get() public method

Get an undefined property
public __get ( string $name ) : mixed
$name string The property name accessed
return mixed
    public function __get($name)
    {
        if (isset(self::$public_services[$name])) {
            return $this->services->{$name};
        }
        trigger_error("Undefined property: " . __CLASS__ . ":\${$name}");
    }