Timber\Site::__get PHP Метод

__get() публичный Метод

public __get ( string $field ) : mixed
$field string
Результат mixed
    public function __get($field)
    {
        if (!isset($this->{$field})) {
            if (is_multisite()) {
                $this->{$field} = get_blog_option($this->ID, $field);
            } else {
                $this->{$field} = get_option($field);
            }
        }
        return $this->{$field};
    }