function __construct($env, $param) { $this->_cPtr = new_PonteExpander($env, $param); }
public function __construct($env, $param) { if (is_resource($env) && get_resource_type($env) === '_p_indri__query__PonteExpander') { $this->_cPtr = $env; return; } $this->_cPtr = new_PonteExpander($env, $param); }