Skip to content

Kirby 5.0.4

$file->__call()

Magic caller for file methods and content fields. (in this order)

$file->__call(string $method, array $arguments = [ ]): mixed

Parameters

Name Type Default
$methodrequired string no default value
$arguments array [ ]

Return type

mixed

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Cms\File