Skip to content

About

[READ ONLY] Subtree split of the collections component (see hypervel/components)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

144 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Collections for Hypervel

Ask DeepWiki

Documentation: https://hypervel.org/docs/collections

Differences From Laravel

Laravel's deprecated containsOneItem() and containsManyItems() aliases are intentionally not ported. Use hasSole() and hasMany() instead.

Enumerable::random() exposes the optional preserveKeys argument supported by both concrete collection implementations and reports the preserved key type accurately. Laravel exposes this argument only on the concrete classes and always reports integer keys through the contract.

Arr::push() accepts arrays only. Laravel also advertises ArrayAccess, but dot notation requires nested by-reference mutation that ArrayAccess cannot provide.

Ported from: https://github.com/laravel/framework/tree/13.x/src/Illuminate/Collections

About

[READ ONLY] Subtree split of the collections component (see hypervel/components)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages