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

Function collect

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

* @template TKey of array-key * @template TValue * @param array $value * @return FluentCollection */

(array $value = [])

Source from the content-addressed store, hash-verified

5199 * @return FluentCollection<TKey, TValue>
5200 */
5201function collect(array $value = []): FluentCollection
5202{
5203 return new FluentCollection($value);
5204}
5205
5206class BrokenDocRecovery
5207{

Callers 3

demoMethod · 0.70
demoMethod · 0.70
runDemoAssertionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected