Symfony\Component\Form\Guess\ValueGuess
Contains a guessed value
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class ValueGuess
extends Guess
{
- // Inherited constants from Guess
- const VERY_HIGH_CONFIDENCE = 3;
- const HIGH_CONFIDENCE = 2;
- const MEDIUM_CONFIDENCE = 1;
- const LOW_CONFIDENCE = 0;
- // members
- private array $value;
- // methods
- public void __construct()
- public mixed getValue()
- // Inherited methods from Guess
- public static Guess getBestGuess()
- public void __construct()
- public integer getConfidence()
Hierarchy
Constants
Name | Value |
---|---|
VERY_HIGH_CONFIDENCE | 3 |
HIGH_CONFIDENCE | 2 |
MEDIUM_CONFIDENCE | 1 |
LOW_CONFIDENCE | 0 |
Members
private
- $value
—
array
The guessed value
Methods
public
- __construct() — Constructor
- getValue() — Returns the guessed value
Inherited from Symfony\Component\Form\Guess\Guess
public
- getBestGuess() — Returns the guess most likely to be correct from a list of guesses
- getConfidence() — Returns the confidence that the guessed value is correct