| Server IP : 198.54.115.198 / Your IP : 216.73.216.142 Web Server : LiteSpeed System : Linux server192.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : seatpheu ( 1569) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/seatpheu/public_html/phsarichiba/wp-content/plugins/woocommerce/src/Api/Attributes/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Api\Attributes;
use Attribute;
/**
* Expands a class's properties into individual flat GraphQL arguments.
*
* When applied to a class, any `execute()` parameter of that type is
* automatically unrolled. When applied to a specific `execute()` parameter,
* only that usage is unrolled.
*
* Each public property of the target class becomes a separate GraphQL argument.
* Properties marked with #[Ignore] are skipped, and #[Description] on
* properties is forwarded to the generated argument descriptions.
*
* The generated resolver constructs the original class via its constructor,
* passing the individual argument values as named parameters.
*/
#[Attribute( Attribute::TARGET_CLASS | Attribute::TARGET_PARAMETER )]
final class Unroll {
}