public static function hook(string ...$hookKeys): NavComposer {
		return new NavComposer(NavBranchCriteria::create(null, null, $hookKeys));
	}
public static function hook(string ...$hookKeys): NavComposer {
		return new NavComposer(NavBranchCriteria::create(null, null, $hookKeys));
	}
public static function hook ( string ... $ hookKeys ) : NavComposer { return new NavComposer ( NavBranchCriteria :: create ( null , null , $ hookKeys ) ) ; }
Uses page as base which is marked with passed hooks.

See {@link https://support.n2n.rocks/de/page/docs/navigieren#hooks hooks article} for further
information about hooks.

@param string ...$hookKeys keys of hooks
@return \page\ui\nav\NavComposer
Uses page as base which is marked with passed hooks .