Automattic\WooCommerce\Vendor\GraphQL\Language

SourceLocation::toSerializableArraypublicWC 1.0

Method of the class: SourceLocation{}

No Hooks.

Returns

array{line: int, column: int}.

Usage

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

SourceLocation::toSerializableArray() code WC 11.0.1

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