Collection
classe Collection étends Collection (Voir la source)
Propriétés
| protected array | $storage | The collection store  | 
                depuis Collection | 
Méthodes
Pas de description
Get the first item of starage
Check existence of a key in the session collection
Allows to recover a value or value collection.
To retrieve a value or value collection form d'instance de collection.
Modify an entry in the collection or the addition if not
Returns the key list and return an instance of Collection.
Ignore the key that is given to it and return an instance of Collection.
Update an existing value in the collection
Pas de description
Pas de description
Add after the last item in the collection
Pas de description
Pas de description
Allows you to delete all the selected recordings
Détails
        
                            
    __construct(array $storage = [])
        
    
    Pas de description
        
                            mixed
    first()
        
    
    Get the first item of starage
        dans 
Collection à la ligne 43
                            array
    last()
        
    
    The last element of the list
        dans 
Collection à la ligne 59
                            bool
    has(string $key, bool $strict = false)
        
    
    Check existence of a key in the session collection
        dans 
Collection à la ligne 78
                            bool
    isEmpty()
        
    
    Check if a collection is empty.
        dans 
Collection à la ligne 101
                            mixed
    get(string $key = null, mixed $default = null)
        
    
    Allows to recover a value or value collection.
        dans 
Collection à la ligne 129
                            Collection
    values()
        
    
    Get the list of values of collection
        dans 
Collection à la ligne 145
                            Collection
    keys()
        
    
    Get the list of keys of collection
        dans 
Collection à la ligne 161
                            int
    count()
        
    
    Count the collection element.
        dans 
Collection à la ligne 172
                            Collection
    collectionify(string $key)
        
    
    To retrieve a value or value collection form d'instance de collection.
        dans 
Collection à la ligne 193
                            Collection
    delete(string $key)
        
    
    Delete an entry in the collection
        dans 
Collection à la ligne 207
                            mixed
    set(mixed $key, mixed $value)
        
    
    Modify an entry in the collection or the addition if not
        dans 
Collection à la ligne 227
                            void
    each(callable $cb)
        
    
    Browse all the values of the collection
        dans 
Collection à la ligne 241
                            Collection
    merge(Collection|array $array)
        
    
    Merge the collection with a painting or other collection
        dans 
Collection à la ligne 269
                            Collection
    map(callable $cb)
        
    
    Map
        dans 
Collection à la ligne 289
                            Collection
    filter(callable $cb)
        
    
    Filter
        dans 
Collection à la ligne 309
                            mixed
    fill(mixed $data, int $offset)
        
    
    Fill storage
        dans 
Collection à la ligne 329
                            Collection
    reduce(callable $cb, mixed $next = null)
        
    
    Reduce
        dans 
Collection à la ligne 346
                            string
    implode(string $sep)
        
    
    Implode
        dans 
Collection à la ligne 357
                            int|float
    sum(callable $cb = null)
        
    
    Sum
        dans 
Collection à la ligne 383
                            int|float
    max(callable|null $cb = null)
        
    
    Max
        dans 
Collection à la ligne 394
                            int|float
    min(callable|null $cb = null)
        
    
    Max
        dans 
Collection à la ligne 434
                            Collection
    excepts(array $except)
        
    
    Returns the key list and return an instance of Collection.
        dans 
Collection à la ligne 456
                            Collection
    ignores(array $ignores)
        
    
    Ignore the key that is given to it and return an instance of Collection.
        dans 
Collection à la ligne 477
                            Collection
    reverse()
        
    
    Reverse collection
        dans 
Collection à la ligne 490
                            bool
    update(mixed $key, mixed $data, bool $override = false)
        
    
    Update an existing value in the collection
        dans 
Collection à la ligne 516
                            Generator
    yieldify()
        
    
    Launches the collection content as generator
        
                            string
    toJson(int $option = 0)
        
    
    Pas de description
        dans 
Collection à la ligne 549
                            int
    length()
        
    
    Length of the collection
        dans 
Collection à la ligne 559
                            mixed
    shift()
        
    
    Deletes the first item in the collection
        dans 
Collection à la ligne 571
                            mixed
    pop()
        
    
    Deletes the last item in the collection
        
                            array
    toArray()
        
    
    Pas de description
        dans 
Collection à la ligne 604
                            array
    all()
        
    
    Returns the elements of the collection
        dans 
Collection à la ligne 616
                            Collection
    push(mixed $value, mixed $key = null)
        
    
    Add after the last item in the collection
        dans 
Collection à la ligne 650
                            mixed
    __get(mixed $name)
        
    
    __get
        dans 
Collection à la ligne 662
                            void
    __set(mixed $name, mixed $value)
        
    
    __set
        dans 
Collection à la ligne 673
                            bool
    __isset(mixed $name)
        
    
    __isset
        dans 
Collection à la ligne 684
                            void
    __unset(mixed $name)
        
    
    __unset
        
                            string
    __toString()
        
    
    Pas de description
        
                            string
    jsonSerialize()
        
    
    Pas de description
        dans 
Collection à la ligne 714
                            ArrayIterator
    getIterator()
        
    
    getIterator
        dans 
Collection à la ligne 725
                            bool
    offsetExists(mixed $offset)
        
    
    offsetExists
        dans 
Collection à la ligne 736
                            mixed
    offsetGet(mixed $offset)
        
    
    offsetGet
        dans 
Collection à la ligne 748
                            void
    offsetSet(mixed $offset, mixed $value)
        
    
    offsetSet
        dans 
Collection à la ligne 759
                            void
    offsetUnset(mixed $offset)
        
    
    offsetUnset
        
                            void
    dropAll()
        
    
    Allows you to delete all the selected recordings