PATH:
home
/
thebhoeo
/
public_html
/
officepoint
/
wp-content
/
plugins
/
woocommerce
/
src
/
Api
/
Attributes
<?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, ) { } }
[-] ArrayOf.php
[edit]
[-] Unroll.php
[edit]
[-] HiddenFromMetadataQuery.php
[edit]
[-] Parameter.php
[edit]
[-] ConnectionOf.php
[edit]
[-] RequiredCapability.php
[edit]
[-] Name.php
[edit]
[-] ReturnType.php
[edit]
[-] Experimental.php
[edit]
[-] ParameterDescription.php
[edit]
[-] Description.php
[edit]
[-] Internal.php
[edit]
[-] Ignore.php
[edit]
[+]
..
[-] PublicAccess.php
[edit]
[-] Metadata.php
[edit]
[-] ScalarType.php
[edit]
[-] Deprecated.php
[edit]