PHP Class Elastica\Query\Type

Inheritance: extends AbstractQuery
Datei anzeigen Open project: ruflin/elastica Class Usage Examples

Protected Properties

Property Type Description
$_type string Type name.

Public Methods

Method Description
__construct ( string $type = null ) Construct Type Query.
setType ( string $typeName ) Ads a field with arguments to the range query.
toArray ( ) : array Convert object to array.

Method Details

__construct() public method

Construct Type Query.
public __construct ( string $type = null )
$type string Type name

setType() public method

Ads a field with arguments to the range query.
public setType ( string $typeName )
$typeName string Type name

toArray() public method

Convert object to array.
See also: Elastica\Query\AbstractQuery::toArray()
public toArray ( ) : array
return array Query array

Property Details

$_type protected_oe property

Type name.
protected string $_type
return string