lib/Elastica/QueryBuilder.php
public function addDSL(DSL $dsl)
    {
        $this->_facades[$dsl->getType()] = new Facade($dsl, $this->_version);
    }
public function addDSL(DSL $dsl)
    {
        $this->_facades[$dsl->getType()] = new Facade($dsl, $this->_version);
    }
public function addDSL ( DSL $ dsl ) { $ this -> _facades [ $ dsl -> getType ( ) ] = new Facade ( $ dsl , $ this -> _version ) ; }
Adds a new DSL object.

@param DSL $dsl
Adds a new DSL object .