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

Method transformItems

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

* @template T * @param array $items * @param callable(T): T $fn * @return array */

(array $items, callable $fn)

Source from the content-addressed store, hash-verified

3029 * @return array<T>
3030 */
3031 public function transformItems(array $items, callable $fn): array { return $fn(); }
3032
3033 /** @param \Closure(User): string $fn */
3034 public function mapUsers(\Closure $fn): array { return []; }

Callers 1

demoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected