Collection

Proxy class.

 class Winter\Storm\Database\Collection
extends Illuminate\Database\Eloquent\Collection

Extends

Methods

public lists (string $value, string $key = null) : array

Get an array with the values of a given key.

Parameters
Property Description
$value
string
$key
string
Returns
array

Extended by

Class Description
TreeCollection

Custom collection used by NestedTree trait.

Copyright © 2024 Winter CMS