MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / foreachGeneratorParam

Method foreachGeneratorParam

examples/demo.php:1704–1709  ·  view source on GitHub ↗

* @param \Generator $pencils */

(\Generator $pencils)

Source from the content-addressed store, hash-verified

1702 * @param \Generator<int, Pencil> $pencils
1703 */
1704 public function foreachGeneratorParam(\Generator $pencils): void
1705 {
1706 foreach ($pencils as $pencil) {
1707 $pencil->sketch(); // @param overrides native \Generator type
1708 }
1709 }
1710}
1711
1712

Callers

nothing calls this directly

Calls 1

sketchMethod · 0.80

Tested by

no test coverage detected