Menu

## ApproximateValueToken
in package
implements TokenInterface

ApproximateValueToken.php : 19

Approximate value token

##### Tags

author

  Daniel Leech daniel@dantleech.com

### Interfaces, Classes and Traits

TokenInterface
  Argument token interface.

### Table of Contents

$precision : mixed
$value : mixed
__construct() : mixed
__toString() : string
  Returns string representation for token.
isLast() : bool|int
  Returns true if this token prevents check of other tokens (is last one).
scoreArgument() : bool|int
  Calculates token match score for provided argument.

### Properties

#### $precision

ApproximateValueToken.php : 22
`private mixed $precision`

#### $value

ApproximateValueToken.php : 21
`private mixed $value`

### Methods

#### __construct()

ApproximateValueToken.php : 24
`public __construct(mixed $value, mixed $precision) : mixed`

##### Parameters

$value : mixed
$precision : mixed

##### Return values

mixed —

#### __toString()

ApproximateValueToken.php : 51

Returns string representation for token.

`public __toString() : string`

##### Return values

string —

#### isLast()

ApproximateValueToken.php : 41

Returns true if this token prevents check of other tokens (is last one).

`public isLast() : bool|int`

##### Return values

bool|int —

#### scoreArgument()

ApproximateValueToken.php : 33

Calculates token match score for provided argument.

`public scoreArgument(mixed $argument) : bool|int`

##### Parameters

$argument : mixed

##### Return values

bool|int —

## Search results