Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
LeafType::serialize
Serializes an internal value to include in a response.
Should throw an exception on invalid values.
Method of the class: LeafType{}
No Hooks.
Returns
Mixed.
Usage
$LeafType = new LeafType(); $LeafType->serialize( $value );
- $value(mixed) (required)
- .
LeafType::serialize() LeafType::serialize code WC 10.9.1
public function serialize($value);