Automattic\WooCommerce\Vendor\GraphQL\Language
SourceLocation::toArray
Method of the class: SourceLocation{}
No Hooks.
Returns
Array{line:. int, column: int}
Usage
$SourceLocation = new SourceLocation(); $SourceLocation->toArray(): array;
SourceLocation::toArray() SourceLocation::toArray code WC 10.9.1
public function toArray(): array
{
return [
'line' => $this->line,
'column' => $this->column,
];
}