namespace Elementor\Core\Utils\Api;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
private Parse_Errors $errors;
public static function make() {
public function __construct() {
$this->errors = Parse_Errors::make();
public function wrap( $value ): self {
public function unwrap() {
public function is_valid(): bool {
return $this->errors->is_empty();
public function errors(): Parse_Errors {