Automattic\WooCommerce\Vendor\GraphQL\Utils

LexicalDistance::__construct │ public │ WC 1.0

Method of the class: LexicalDistance{}

No Hooks.

Returns

null. Nothing (null).

Usage

$LexicalDistance = new LexicalDistance();
$LexicalDistance->__construct( $input );
$input(string) (required)
.

LexicalDistance::__construct() code WC 11.1.2

public function __construct(string $input)
{
    $this->input = $input;
    $this->inputLowerCase = strtolower($input);
    $this->inputArray = self::stringToArray($this->inputLowerCase);
}