Automattic\WooCommerce\Vendor\GraphQL\Language\AST

Location::createpublic staticWC 1.0

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() 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;
}