Automattic\WooCommerce\Vendor\GraphQL\Language\AST
Location::create
Method of the class: Location{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = Location::create( $start, $end ): self;
- $start(int) (required)
- .
- $end(int) (required)
- .
Location::create() Location::create code WC 10.9.1
public static function create(int $start, int $end): self
{
$tmp = new static();
$tmp->start = $start;
$tmp->end = $end;
return $tmp;
}