Automattic\WooCommerce\Vendor\GraphQL\Language\AST
Location::toArray
Method of the class: Location{}
No Hooks.
Returns
LocationArray.
Usage
$Location = new Location(); $Location->toArray(): array;
Location::toArray() Location::toArray code WC 10.9.1
public function toArray(): array
{
return [
'start' => $this->start,
'end' => $this->end,
];
}