MCPcopy Index your code
hub / github.com/PHPantom-dev/phpantom_lsp / map

Method map

tests/phpstan_nsrt/generics.php:131–134  ·  view source on GitHub ↗

* @template U * @param callable(V): U $callback * @return Collection */

(callable $callback)

Source from the content-addressed store, hash-verified

129 * @return Collection<U>
130 */
131 public function map(callable $callback): self
132 {
133 return new self(array_map($callback, $this->items));
134 }
135}
136
137/**

Callers 15

shorten_fqn_componentsFunction · 0.45
extract_hover_textFunction · 0.45
strip_cursorFunction · 0.45
run_completionFunction · 0.45
extract_hover_textFunction · 0.45
run_hoverFunction · 0.45
run_definitionFunction · 0.45
run_signature_helpFunction · 0.45
method_namesFunction · 0.45
property_namesFunction · 0.45

Calls

no outgoing calls