[ /** * Enable/disable the search in the sections */ 'search' => function (bool $search = false): bool { return $search; } ], 'methods' => [ 'searchterm' => function (): string|null { return App::instance()->request()->get('searchterm'); } ] ];