__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Core\Utils\Api;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Parse_Result {
private Parse_Errors $errors;
private $value;
public static function make() {
return new static();
}
public function __construct() {
$this->errors = Parse_Errors::make();
}
public function wrap( $value ): self {
$this->value = $value;
return $this;
}
public function unwrap() {
return $this->value;
}
public function is_valid(): bool {
return $this->errors->is_empty();
}
public function errors(): Parse_Errors {
return $this->errors;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| error-builder.php | File | 840 B | 0664 |
|
| parse-errors.php | File | 1023 B | 0664 |
|
| parse-result.php | File | 612 B | 0664 |
|
| response-builder.php | File | 855 B | 0664 |
|