function ValidationResult::__get

Implements magic ::__get() method.

File

core/modules/package_manager/src/ValidationResult.php, line 56

Class

ValidationResult
A value object to contain the results of a validation.

Namespace

Drupal\package_manager

Code

public function __get(string $name) : mixed {
    return match ($name) {    'messages' => $this->messages,
    
    };
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.