Automattic\WooCommerce\Vendor\GraphQL\Utils
AST::toArray
Convert AST node to serializable array.
Method of the class: AST{}
No Hooks.
Returns
Array
Usage
$result = AST::toArray( $node ): array;
- $node(Node) (required)
- .
AST::toArray() AST::toArray code WC 10.9.1
public static function toArray(Node $node): array
{
return $node->toArray();
}