for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mdiyakov\DoctrineSolrBundle\Query\Suggest\Result;
class SuggestionResult
{
/**
* @var string
*/
private $term;
* @var float
private $weight;
private $payload;
* SuggestionResult constructor.
* @param string $term
* @param float $weight
* @param string $payload
public function __construct($term, $weight, $payload)
$this->term = $term;
$this->weight = $weight;
$this->payload = $payload;
}
* @return string
public function getTerm()
return $this->term;
* @return float
public function getWeight()
return $this->weight;
public function getPayload()
return $this->payload;