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 HasType
* @package Nord\Lumen\Elasticsearch\Search\Query\Traits
*/
trait HasType
{
* @var ?string
private $type;
* @return string|null
public function getType()
return $this->type;
}
* @param string $type
*
* @return $this
public function setType(string $type)
$this->type = $type;
return $this;