namespace whatever\Plugins\Query;
class Builder extends \Phalcon\Mvc\Model\Query\Builder {
public function __construct($params = null, $di = null){
parent::__construct($params, $di);
}
public function getBindParams(){
return $this->_bindParams;
}
}
and then you use your own class instead of Phalcon one