Reference

Guide

$file->query()

Creates a string query, starting from the model

$file->query(string $query = null, string $expect = null): mixed

Parameters

Name Type Default Description
$query string null
$expect string null

Return type

mixed

Source code

kirby/src/Cms/File.php#L553