Skip to content

Kirby 5.3.2

$layout->__call()

Proxy for attrs

$layout->__call(string $method, array $args = [ ]): mixed

Parameters

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

Return type

mixed

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

Parent class

Kirby\Cms\Layout