| Server IP : 172.67.71.254 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/buzzbitesv3/public_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 {
}