for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nord\Lumen\Elasticsearch\Search\Query\Traits;
/**
* Trait HasScoreMode
* @package Nord\Lumen\Elasticsearch\Search\Query\Traits
*/
trait HasScoreMode
{
* @var ?string
protected $scoreMode;
* @return string|null
public function getScoreMode()
return $this->scoreMode;
}
* @param string $scoreMode
*
* @return $this
public function setScoreMode(string $scoreMode)
$this->scoreMode = $scoreMode;
return $this;