Reference

Guide

new Query()

Creates a new Query object

new Query(string $query = null, array|object $data = [ ])

Parameters

Name Type Default Description
$query string null
$data array|object [ ]

Source code

kirby/src/Toolkit/Query.php#L49