| Server IP : 66.241.125.127 / Your IP : 216.73.216.164 Web Server : Apache/2.4.67 (Debian) System : Linux 68372e0bd90938 6.12.91-fly #1 SMP PREEMPT_DYNAMIC Mon Jun 1 15:49:04 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /.fly-upper-layer/var/www/html/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 {
}