/home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Caching
NameSizeModeActions
CacheEngine.php21970644editdlrm
CacheException.php22570644editdlrm
CacheNameSpaceTrait.php21120644editdlrm
ObjectCache.php112230644editdlrm
WPCacheEngine.php46350644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Caching/CacheException.php (2257B)
errors = $errors ?? array(); $this->thrower = $thrower; $this->cached_id = $cached_id; parent::__construct( $message, $code, $previous ); } /** * Get a string representation of the exception object. * * @return string String representation of the exception object. */ public function __toString(): string { $cached_id_part = $this->cached_id ? ", id: {$this->cached_id}" : ''; return "CacheException: [{$this->thrower->get_object_type()}{$cached_id_part}]: {$this->message}"; } /** * Gets the array of error messages passed to the exception constructor. * * @return array Error messages passed to the exception constructor. */ public function get_errors(): array { return $this->errors; } /** * Gets the object that threw the exception as passed to the exception constructor. * * @return object The object that threw the exception. */ public function get_thrower(): object { return $this->thrower; } /** * Gets the id of the cached object as passed to the exception constructor. * * @return int|string|null The id of the cached object. */ public function get_cached_id() { return $this->cached_id; } }