PHP Class Elastica\QueryBuilder

Author: Manuel Andreo Garcia ([email protected])
Mostrar archivo Open project: ruflin/elastica Class Usage Examples

Public Methods

Method Description
__call ( $dsl, array $arguments ) : Facade Returns Facade for custom DSL object.
__construct ( Version $version = null ) Constructor.
addDSL ( Elastica\QueryBuilder\DSL $dsl ) Adds a new DSL object.
aggregation ( ) : Aggregation Aggregation DSL.
filter ( ) : Query Filter DSL.
query ( ) : Query Query DSL.
suggest ( ) : Elastica\QueryBuilder\DSL\Suggest Suggest DSL.

Method Details

__call() public method

Returns Facade for custom DSL object.
public __call ( $dsl, array $arguments ) : Facade
$dsl
$arguments array
return Elastica\QueryBuilder\Facade

__construct() public method

Constructor.
public __construct ( Version $version = null )
$version Elastica\QueryBuilder\Version

addDSL() public method

Adds a new DSL object.
public addDSL ( Elastica\QueryBuilder\DSL $dsl )
$dsl Elastica\QueryBuilder\DSL

aggregation() public method

Aggregation DSL.
public aggregation ( ) : Aggregation
return Elastica\QueryBuilder\DSL\Aggregation

filter() public method

Filter DSL.
public filter ( ) : Query
return Elastica\QueryBuilder\DSL\Query

query() public method

Query DSL.
public query ( ) : Query
return Elastica\QueryBuilder\DSL\Query

suggest() public method

Suggest DSL.
public suggest ( ) : Elastica\QueryBuilder\DSL\Suggest
return Elastica\QueryBuilder\DSL\Suggest