__construct()
__construct(\QueryPath\Query $qp)
Parameters
\QueryPath\Query | $qp |
A Extension is a tool that extends the capabilities of a Query object.
Extensions to QueryPath should implement the Extension interface. The only requirement is that the extension provide a constructor that takes a Query object as a parameter.
Here is an example QueryPath extension:
__construct(\QueryPath\Query $qp)
\QueryPath\Query | $qp |