📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 13:33:09
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
plugins
/
woocommerce
/
src
/
Api
/
Attributes
✏️
Editing: Deprecated.php
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Api\Attributes; use Attribute; /** * Marks a field or enum value as deprecated in the GraphQL schema. * * Deprecated elements remain functional but are flagged with a deprecation * reason in introspection, signaling to API consumers that they should * migrate to an alternative. */ #[Attribute] final class Deprecated { /** * Constructor. * * @param string $reason A human-readable explanation of why the element is * deprecated and what to use instead. */ public function __construct( public readonly string $reason, ) { } }
💾 Save Changes
❌ Cancel