/** * Constructor * * @param string $type The guessed field type * @param array $options The options for creating instances of the * guessed class * @param integer $confidence The confidence that the guessed class name * is correct */ public function __construct($type, array $options, $confidence) { parent::__construct($confidence); $this->type = $type; $this->options = $options; }
/** * Constructor * * @param string $value The guessed value * @param int $confidence The confidence that the guessed class name * is correct */ public function __construct($value, $confidence) { parent::__construct($confidence); $this->value = $value; }
/** * @param string $resolveType * @param int $confidence */ public function __construct($resolveType, $confidence = self::LOW_CONFIDENCE) { $this->type = $resolveType; parent::__construct($confidence); }
/** * @param array $config * @param int $confidence */ public function __construct(array $config, $confidence = self::LOW_CONFIDENCE) { $this->config = $config; parent::__construct($confidence); }