Automattic\WooCommerce\Vendor\GraphQL\Language

SourceLocation::jsonSerializepublicWC 1.0ReturnTypeWillChange

Method of the class: SourceLocation{}

No Hooks.

Returns

Array{line:. int, column: int}

Usage

$SourceLocation = new SourceLocation();
$SourceLocation->jsonSerialize(): array;

SourceLocation::jsonSerialize() code WC 10.9.1

public function jsonSerialize(): array
{
    return $this->toArray();
}