drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/Views/View.php:29
Defined in <ROOT>/library/base/Views/View.php:34
Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/base/Views/BaseView.php:51
Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/base/Views/BaseView.php:60
Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/base/Views/BaseView.php:65
Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/base/Views/BaseView.php:70
Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/base/Views/BaseView.php:75
/** * Método mágico para establecer propiedades didácticamente * * @param mixed $name * @return void */ Inherited from Infinyti\Base\Views\BaseView Defined in <ROOT>/library/Traits/Properties.php:30
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"id":"start:errors.404","workSpace":"front","uri":"\/error\/404","name":"404","uses":["errors"],"action":"error404","app":"start","entity":"errors","protocol":"https","url":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","access":"public","type":"browser","pattern":"\/^\\\/error\\\/404\\\/?$\/","core":null,"queryPath":"start:errors","method":"GET","permission":"root\/front\/start\/errors\/browser\/404","version":"1.0","url_referer":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","handler":["Start\\Errors\\Front\\ErrorsController","error404Action"]}
Defined in <ROOT>/library/base/Router/Dispatcher.php:50
Defined in <ROOT>/library/base/Router/Dispatcher.php:77
Defined in <ROOT>/library/base/Router/Dispatcher.php:82
Defined in <ROOT>/library/base/Router/Dispatcher.php:90
Defined in <ROOT>/library/base/Router/Dispatcher.php:99
Defined in <ROOT>/library/base/Router/Dispatcher.php:114
Defined in <ROOT>/library/base/Router/Dispatcher.php:121
Defined in <ROOT>/library/base/Router/Dispatcher.php:134
Defined in <ROOT>/library/base/Router/Dispatcher.php:141
Defined in <ROOT>/library/base/Router/Dispatcher.php:155
Defined in <ROOT>/library/base/Router/Dispatcher.php:162
Defined in <ROOT>/library/base/Router/Dispatcher.php:167
Defined in <ROOT>/library/base/Router/Dispatcher.php:177
Defined in <ROOT>/library/base/Router/Dispatcher.php:209
Defined in <ROOT>/library/base/Router/Dispatcher.php:214
/** * Process the parameters received with the request and establish the models * and dependencies requested by the action / method * * @param Array $routeParams Parameters received in the request * @return mixed */ Defined in <ROOT>/library/base/Router/Parameters.php:64
/** * Returns the parameters * * @return Array params */ Defined in <ROOT>/library/base/Router/Parameters.php:84
/** * Sets the values of the parameters received in the request * * @param Array $segments Parameters * @return Kernel/Request */ Defined in <ROOT>/library/base/Router/Parameters.php:95
Defined in <ROOT>/library/base/Router/Parameters.php:108
Defined in <ROOT>/library/base/Router/Parameters.php:120
Defined in <ROOT>/library/base/Router/Parameters.php:125
Defined in <ROOT>/library/base/Router/Parameters.php:138
Defined in <ROOT>/library/base/Router/Parameters.php:143
Defined in <ROOT>/library/base/Router/Parameters.php:155
Defined in <ROOT>/library/base/Router/Parameters.php:175
Defined in <ROOT>/library/base/Router/Parameters.php:227
/** * Obtiene los argumentos que requiere la dependencia cuanto se retorna su * instancia desde un método getInstance usado normalmente en el patrón singleton * @param ReflectionClass $dependency Clases requerida * @param ReflectionMethod $method Método solicitado * @return array Argumentos solicitados en el método */ Defined in <ROOT>/library/base/Router/Parameters.php:251
Defined in <ROOT>/library/base/Router/Parameters.php:271
drwxr-xr-x 0 0 4096 Jul 16 02:53 /var/www
-rwxr-xr-x 0 0 2080 Jul 16 14:36 /var/www/ideasfarm/public_html/index.php
drwxr-xr-x 33 33 4096 Jul 26 12:40 /var/www/ideasfarm/public_html
drwxr-xr-x 33 33 4096 Jul 26 12:40 /var/www/ideasfarm/public_html
<address>Apache/2.4.58 (Ubuntu) Server at dev-gramedia.ideasfarm.net Port 443</address>
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
2026-07-30T02:26:27+00:00
mongodb://dev-gramedia:9ef5276b-7384-4f62-859e-de548584f3ea@dev-gramedia.ideasfarm.net:27017/admin
operations,
notifications,
pushNotification,
whatsapp,
email,
facebook,
google,
twitter,
tinify,
getoutpdf,
cloudconvert,
mailjet,
recaptcha,
digitalOcean
ASpxy9kyFBQ7K2ONYlHR8X55WRh2T96QW7iNyJnLDo02Tw91NzBHaqUuqQLMvYMLodiDs5PwY_96RU3U
ED77aQTxGFO9XnhhrwR-0wGX5jRPt46dtYjnPt9R0WrscvUa-nF62C-p2U3FVvEvIF6aevjbHCK_dAAm
AUCTIONS.model=Protocols\Farms\Models\FarmsModel,
FARM.model=Protocols\Farms\Models\FarmsModel,
PROVIDER.model=Protocols\Farms\Models\FarmsModel
farms=Protocols\Farms\Models\FarmsModel,
provides=Inventory\Inventory\Models\ProvidersModel
farms=FarmsMembersModel,
provides=ProvidersMembersModel
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
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:83
/** * Operations to perform on clone. * * Since cloning usually is for purposes of mutation, we reset the * $uriString property so it will be re-calculated. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:99
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:108/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:130/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:139/**
* Retrieve the user-info part of the URI.
*
* This value is percent-encoded, per RFC 3986 Section 3.2.1.
*
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:165/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:174/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:183/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:194/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:214/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:223/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:232/**
* Create and return a new instance containing the provided user credentials.
*
* The value will be percent-encoded in the new instance, but with measures
* taken to prevent double-encoding.
*
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:259/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:286/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:303/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:327/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:358/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:383/**
* Parse a URI into its parts, and set the properties
*
* @psalm-suppress InaccessibleProperty Method is only called in {@see Uri::__construct} and thus immutability is
* still given.
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:404/** * Is a given port non-standard for the current scheme? * * @psalm-assert-if-true int $port */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:469
/** * Filters the scheme to ensure it is a valid scheme. * * @param string $scheme Scheme name. * @return string Filtered scheme. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:488
/** * Filters a part of user info in a URI to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:512
/** * Filters the path of a URI to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:532
/** * Encode invalid UTF-8 characters in given string. All other characters are unchanged. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:548
/** * Filter a query string to ensure it is propertly encoded. * * Ensures that the values in the query string are properly urlencoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:570
/**
* Split a query value into a key/value tuple.
*
* @return array{0:string, 1:string|null} A value with exactly two elements, key and value
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:598/** * Filter a fragment value to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:610
/** * Filter a query string key or value, or a fragment. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:622
/** * URL encode a character returned by a regex. * * @param array<string> $matches * @psalm-pure */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:641
/** * Create a URI string from its various parts */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:430
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
/** * @param string|object|resource $stream * @param string $mode Mode with which to open stream * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:56
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:65/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:86/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:101/** * Attach a new stream/resource to the instance. * * @param string|object|resource $resource * @throws Exception\InvalidArgumentException For stream identifier that cannot be cast to a resource. * @throws Exception\InvalidArgumentException For non-resource stream. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:115
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:124/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:142/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:160/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:173/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:187/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:208/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:217/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:237/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:260/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:276/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:299/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:317/** * Set the internal stream resource. * * @param string|object|resource $stream String stream target or stream resource. * @param string $mode Resource mode for stream target. * @throws Exception\InvalidArgumentException For invalid streams or resources. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:342
/** * Determine if a resource is one of the resource types allowed to instantiate a Stream * * @param mixed $resource Stream resource. * @psalm-assert-if-true resource $resource */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:384
/** * @param array $serverParams Server parameters, typically from $_SERVER * @param array $uploadedFiles Upload file information, a tree of UploadedFiles * @param null|string|UriInterface $uri URI for the request, if any. * @param null|string $method HTTP method for the request, if any. * @param string|resource|StreamInterface $body Message body, if any. * @param array<non-empty-string, string|string[]> $headers Headers for the message, if any. * @param array $cookieParams Cookies for the message, if any. * @param array $queryParams Query params for the message, if any. * @param null|array|object $parsedBody The deserialized body parameters, if any. * @param string $protocol HTTP protocol version. * @throws Exception\InvalidArgumentException For any invalid value. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:54
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:81/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:90/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:99/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:111/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:120/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:131/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:140/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:151/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:160/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:180/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:189/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:202/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:213/** * Recursively validate the structure in an uploaded files array. * * @throws Exception\InvalidArgumentException If any leaf is not an UploadedFileInterface instance. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:225
/** * Initialize request state. * * Used by constructors. * * @param null|string|UriInterface $uri URI for the request, if any. * @param null|string $method HTTP method for the request, if any. * @param string|resource|StreamInterface $body Message body, if any. * @param array<non-empty-string, string|string[]> $headers Headers for the message, if any. * @throws Exception\InvalidArgumentException For any invalid value. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:55
/** * Create and return a URI instance. * * If `$uri` is a already a `UriInterface` instance, returns it. * * If `$uri` is a string, passes it to the `Uri` constructor to return an * instance. * * If `$uri is null, creates and returns an empty `Uri` instance. * * Otherwise, it raises an exception. * * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:92
/** * Retrieves the message's request target. * * Retrieves the message's request-target either as it will appear (for * clients), as it appeared at request (for servers), or as it was * specified for the instance (see withRequestTarget()). * * In most cases, this will be the origin-form of the composed URI, * unless a value was provided to the concrete implementation (see * withRequestTarget() below). * * If no URI is available, and no request-target has been specifically * provided, this method MUST return the string "/". */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:119
/** * Create a new instance with a specific request-target. * * If the request needs a non-origin-form request-target — e.g., for * specifying an absolute-form, authority-form, or asterisk-form — * this method may be used to create an instance with the specified * request-target, verbatim. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return a new instance that has the * changed request target. * * @link http://tools.ietf.org/html/rfc7230#section-2.7 (for the various * request-target forms allowed in request messages) * * @throws Exception\InvalidArgumentException If the request target is invalid. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:155
/** * Retrieves the HTTP method of the request. * * @return string Returns the request method. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:173
/** * Return an instance with the provided HTTP method. * * While HTTP method names are typically all uppercase characters, HTTP * method names are case-sensitive and thus implementations SHOULD NOT * modify the given string. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * changed request method. * * @param string $method Case-insensitive method. * @throws Exception\InvalidArgumentException For invalid HTTP methods. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:193
/** * Retrieves the URI instance. * * This method MUST return a UriInterface instance. * * @link http://tools.ietf.org/html/rfc3986#section-4.3 * * @return UriInterface Returns a UriInterface instance * representing the URI of the request, if any. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:210
/**
* Returns an instance with the provided URI.
*
* This method will update the Host header of the returned request by
* default if the URI contains a host component. If the URI does not
* contain a host component, any pre-existing Host header will be carried
* over to the returned request.
*
* You can opt-in to preserving the original state of the Host header by
* setting `$preserveHost` to `true`. When `$preserveHost` is set to
* `true`, the returned request will not update the Host header of the
* returned message -- even if the message contains no Host header. This
* means that a call to `getHeader('Host')` on the original request MUST
* equal the return value of a call to `getHeader('Host')` on the returned
* request.
*
* This method MUST be implemented in such a way as to retain the
* immutability of the message, and MUST return an instance that has the
* new UriInterface instance.
*
* @link http://tools.ietf.org/html/rfc3986#section-4.3
*
* @param UriInterface $uri New request URI to use.
* @param bool $preserveHost Preserve the original state of the Host header.
* @return static
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:241/** * Set and validate the HTTP method * * @throws Exception\InvalidArgumentException On invalid HTTP method. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:280
/** * Retrieve the host from the URI instance */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:294
/** * Retrieves the HTTP protocol version as a string. * * The string MUST contain only the HTTP version number (e.g., "1.1", "1.0"). * * @return string HTTP protocol version. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:59
/** * Return an instance with the specified HTTP protocol version. * * The version string MUST contain only the HTTP version number (e.g., * "1.1", "1.0"). * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new protocol version. * * @param string $version HTTP protocol version * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:77
/**
* Retrieves all message headers.
*
* The keys represent the header name as it will be sent over the wire, and
* each value is an array of strings associated with the header.
*
* // Represent the headers as a string
* foreach ($message->getHeaders() as $name => $values) {
* echo $name . ": " . implode(", ", $values);
* }
*
* // Emit headers iteratively:
* foreach ($message->getHeaders() as $name => $values) {
* foreach ($values as $value) {
* header(sprintf('%s: %s', $name, $value), false);
* }
* }
*
* @return array Returns an associative array of the message's headers. Each
* key MUST be a header name, and each value MUST be an array of strings.
* @psalm-return array<non-empty-string, list<string>>
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:107/** * Checks if a header exists by the given case-insensitive name. * * @param string $name Case-insensitive header name. * @return bool Returns true if any header names match the given header * name using a case-insensitive string comparison. Returns false if * no matching header name is found in the message. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:120
/** * Retrieves a message header value by the given case-insensitive name. * * This method returns an array of all the header values of the given * case-insensitive header name. * * If the header does not appear in the message, this method MUST return an * empty array. * * @param string $name Case-insensitive header field name. * @return string[] An array of string values as provided for the given * header. If the header does not appear in the message, this method MUST * return an empty array. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:139
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. * * If the header does not appear in the message, this method MUST return * an empty string. * * @param string $name Case-insensitive header field name. * @return string A string of values as provided for the given header * concatenated together using a comma. If the header does not appear in * the message, this method MUST return an empty string. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:170
/** * Return an instance with the provided header, replacing any existing * values of any headers with the same case-insensitive name. * * While header names are case-insensitive, the casing of the header will * be preserved by this function, and returned from getHeaders(). * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new and/or updated header and value. * * @param string $name Case-insensitive header field name. * @param string|string[] $value Header value(s). * @return static * @throws Exception\InvalidArgumentException For invalid header names or values. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:196
/** * Return an instance with the specified header appended with the * given value. * * Existing values for the specified header will be maintained. The new * value(s) will be appended to the existing list. If the header did not * exist previously, it will be added. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new header and/or value. * * @param string $name Case-insensitive header field name to add. * @param string|string[] $value Header value(s). * @return static * @throws Exception\InvalidArgumentException For invalid header names or values. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:232
/** * Return an instance without the specified header. * * Header resolution MUST be done without case-sensitivity. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that removes * the named header. * * @param string $name Case-insensitive header field name to remove. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:260
/** * Gets the body of the message. * * @return StreamInterface Returns the body as a stream. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:279
/** * Return an instance with the specified message body. * * The body MUST be a StreamInterface object. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return a new instance that has the * new body stream. * * @param StreamInterface $body Body. * @return static * @throws Exception\InvalidArgumentException When the body is not valid. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:297
/** @param StreamInterface|string|resource $stream */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:305
/** * Filter a set of headers to ensure they are in the correct internal format. * * Used by message constructors to allow setting all initial headers at once. * * @param array<non-empty-string, string|string[]> $originalHeaders Headers to filter. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:330
/** * Validate the HTTP protocol version * * @throws Exception\InvalidArgumentException On invalid HTTP protocol version. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:352
/** @return list<string> */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:371
/** * Ensure header name and values are valid. * * @psalm-assert non-empty-string $name * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:403
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:21
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:35
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:40
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:45
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:50
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:55
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:70
/** * Gets the session.save_handler name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:26
/** * Is this proxy handler and instance of \SessionHandlerInterface. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:34
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:42
/** * Has a session started? */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:50
/** * Gets the session ID. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:58
/** * Sets the session ID. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:68
/** * Gets the session name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:80
/** * Sets the session name. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:90
2026-07-30T02:26:27+00:00
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates * @param int|null $cookieLifetime The configured cookie lifetime; null to read from php.ini */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:39
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:46
/** * Gets the lifetime that the session cookie was set with. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:65
/** * Stamps a new session's metadata. * * @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:83
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:93
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:114
/** * Sets name. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:122
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:127
/**
* Depending on how you want the storage driver to behave you probably
* want to override this constructor entirely.
*
* List of options for $options array with their defaults.
*
* @see https://php.net/session.configuration for options
* but we omit 'session.' from the beginning of the keys for convenience.
*
* ("auto_start", is not supported as it tells PHP to start a session before
* PHP starts to execute user-land code. Setting during runtime has no effect).
*
* cache_limiter, "" (use "0" to prevent headers from being sent entirely).
* cache_expire, "0"
* cookie_domain, ""
* cookie_httponly, ""
* cookie_lifetime, "0"
* cookie_path, "/"
* cookie_secure, ""
* cookie_samesite, null
* gc_divisor, "100"
* gc_maxlifetime, "1440"
* gc_probability, "1"
* lazy_write, "1"
* name, "PHPSESSID"
* referer_check, "" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* serialize_handler, "php"
* use_strict_mode, "1"
* use_cookies, "1"
* use_only_cookies, "1" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* use_trans_sid, "0" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* sid_length, "32" (@deprecated since Symfony 7.2, to be removed in 8.0)
* sid_bits_per_character, "5" (@deprecated since Symfony 7.2, to be removed in 8.0)
* trans_sid_hosts, $_SERVER['HTTP_HOST'] (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* trans_sid_tags, "a=href,area=href,frame=src,form=" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:76/** * Gets the save handler instance. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:100
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:105
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:167
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:177
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:187
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:211
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:250
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:264
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:273
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:288
/** * Gets the MetadataBag. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:296
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:301
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:316
/**
* Registers session save handler as a PHP session handler.
*
* To use internal PHP session save handlers, override this method using ini_set with
* session.save_handler and session.save_path e.g.
*
* ini_set('session.save_handler', 'files');
* ini_set('session.save_path', '/tmp');
*
* or pass in a \SessionHandler instance which configures session.save_handler in the
* constructor, for a template see NativeFileSessionHandler.
*
* @see https://php.net/session-set-save-handler
* @see https://php.net/sessionhandlerinterface
* @see https://php.net/sessionhandler
*
* @throws \InvalidArgumentException
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:364/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:391
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:21
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:35
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:40
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:45
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:50
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:55
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:70
/** * Gets the session.save_handler name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:26
/** * Is this proxy handler and instance of \SessionHandlerInterface. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:34
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:42
/** * Has a session started? */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:50
/** * Gets the session ID. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:58
/** * Sets the session ID. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:68
/** * Gets the session name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:80
/** * Sets the session name. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:90
2026-07-30T02:26:27+00:00
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates * @param int|null $cookieLifetime The configured cookie lifetime; null to read from php.ini */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:39
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:46
/** * Gets the lifetime that the session cookie was set with. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:65
/** * Stamps a new session's metadata. * * @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:83
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:93
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:114
/** * Sets name. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:122
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:127
/**
* Depending on how you want the storage driver to behave you probably
* want to override this constructor entirely.
*
* List of options for $options array with their defaults.
*
* @see https://php.net/session.configuration for options
* but we omit 'session.' from the beginning of the keys for convenience.
*
* ("auto_start", is not supported as it tells PHP to start a session before
* PHP starts to execute user-land code. Setting during runtime has no effect).
*
* cache_limiter, "" (use "0" to prevent headers from being sent entirely).
* cache_expire, "0"
* cookie_domain, ""
* cookie_httponly, ""
* cookie_lifetime, "0"
* cookie_path, "/"
* cookie_secure, ""
* cookie_samesite, null
* gc_divisor, "100"
* gc_maxlifetime, "1440"
* gc_probability, "1"
* lazy_write, "1"
* name, "PHPSESSID"
* referer_check, "" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* serialize_handler, "php"
* use_strict_mode, "1"
* use_cookies, "1"
* use_only_cookies, "1" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* use_trans_sid, "0" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* sid_length, "32" (@deprecated since Symfony 7.2, to be removed in 8.0)
* sid_bits_per_character, "5" (@deprecated since Symfony 7.2, to be removed in 8.0)
* trans_sid_hosts, $_SERVER['HTTP_HOST'] (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* trans_sid_tags, "a=href,area=href,frame=src,form=" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:76/** * Gets the save handler instance. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:100
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:105
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:167
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:177
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:187
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:211
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:250
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:264
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:273
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:288
/** * Gets the MetadataBag. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:296
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:301
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:316
/**
* Registers session save handler as a PHP session handler.
*
* To use internal PHP session save handlers, override this method using ini_set with
* session.save_handler and session.save_path e.g.
*
* ini_set('session.save_handler', 'files');
* ini_set('session.save_path', '/tmp');
*
* or pass in a \SessionHandler instance which configures session.save_handler in the
* constructor, for a template see NativeFileSessionHandler.
*
* @see https://php.net/session-set-save-handler
* @see https://php.net/sessionhandlerinterface
* @see https://php.net/sessionhandler
*
* @throws \InvalidArgumentException
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:364/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:391
/** * Constructor de la clase Session. * * @param SessionStorageInterface $storage Almacenamiento de la sesión. * @param AttributeBagInterface $attributes Atributos de la sesión. * @param FlashBagInterface $flashes FlashBag para mensajes flash. * @param array $config Configuración de la sesión. * @param LoggerInterface $logger Logger para el registro de actividades. */ Defined in <ROOT>/library/base/warps/Session/Session.php:73
/** * Crea un nuevo namespace dentro de la sesión. * * @param string $namespace El nombre del namespace a crear. * @return SessionNamespace Una nueva instancia de SessionNamespace para gestionar los datos dentro del namespace. */ Defined in <ROOT>/library/base/warps/Session/Session.php:118
Defined in <ROOT>/library/base/warps/Session/Session.php:123
/** * Obtiene la configuración de la sesión * * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Session.php:133
/** * Establece la configuración de la sesión * * @param mixed $config * * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:145
/** * @param mixed $name * * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:161
/** * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Session.php:182
/** * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:191
/** * Establece la cookie de sesión utilizando Symfony's Cookie. * * @param Cookie|null $cookie Objeto Cookie de Symfony si se proporciona, de lo contrario se creará una nueva cookie. * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:205
Defined in <ROOT>/library/base/warps/Session/Session.php:226
/** * Inicia la sesión customizada para Infinyti. * * @param [type] $request * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:240
/** * Destruye la sesión * * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:274
/** * Obtiene un valor de la sesión * * @param string $name * * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:286
/** * Obtiene todos los datos almacenados en la sesión. * * Este método devuelve un array asociativo con todos los datos de la sesión. * Es útil para obtener una visión completa de lo que se almacena en la sesión, * sin necesidad de acceder a cada clave individualmente. * * @return array Array asociativo con todos los datos de la sesión. */ Defined in <ROOT>/library/base/warps/Session/Session.php:300
/** * Genera un token CSRF y lo almacena en la sesión. * * @return string El token CSRF generado. */ Defined in <ROOT>/library/base/warps/Session/Session.php:315
/** * Valida un token CSRF. * * @param string $token El token CSRF a validar. * @return bool Verdadero si el token es válido, falso en caso contrario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:328
/** * Determina si es necesario regenerar el ID de la sesión. * * @return bool Verdadero si es necesario regenerar el ID, falso en caso contrario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:345
/** * Regenera el ID de la sesión si es necesario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:358
Defined in <ROOT>/library/base/warps/Session/Session.php:367
Defined in <ROOT>/library/base/warps/Session/Session.php:373
Defined in <ROOT>/library/base/warps/Session/Session.php:379
Defined in <ROOT>/library/base/warps/Session/Session.php:384
Defined in <ROOT>/library/base/warps/Session/Session.php:389
Defined in <ROOT>/library/base/warps/Session/Session.php:394
Defined in <ROOT>/library/base/warps/Session/Session.php:399
Defined in <ROOT>/library/base/warps/Session/Session.php:404
Defined in <ROOT>/library/base/warps/Session/Session.php:409
Defined in <ROOT>/library/base/warps/Session/Session.php:414
Defined in <ROOT>/library/base/warps/Session/Session.php:419
Defined in <ROOT>/library/base/warps/Session/Session.php:424
Defined in <ROOT>/library/base/warps/Session/Session.php:429
Defined in <ROOT>/library/base/warps/Session/Session.php:434
Defined in <ROOT>/library/base/warps/Session/Session.php:440
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:62
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:67
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:77
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:82
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:87
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:92
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:97
/** * Returns an iterator for attributes. * * @return \ArrayIterator<string, mixed> */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:107
/** * Returns the number of attributes. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:115
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:120
/** * @internal */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:128
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:145
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:152
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:157
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:162
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:167
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:174
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:179
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:184
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:194
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:199
/** * Gets the flashbag interface. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:209
/** * Unset a value within session data. * * @param string ...$keys All the keys to remove from the session * * @return SessionInterface */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:65
/** * Converts the passed session key into a flashed key. * * @param string $key The key to convert * * @return string */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:110
/** * Retrieve a one-time value from the session data. * * @param string $key The name of the flash value to retrieve * * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:123
/** * Set a one-time value within session data. * * @param string $key The name of the flash value to update * @param mixed $value The value to store against the key * * @return SessionInterface */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:143
/** * Gets the attributebag interface. * * Note that this method was added to help with IDE autocompletion. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:219
2026-07-30T02:26:27+00:00
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/Http/ServerRequest.php:22
Defined in <ROOT>/library/base/Http/ServerRequest.php:50
Defined in <ROOT>/library/base/Http/ServerRequest.php:58
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:8
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:13
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:19
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:24
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:29
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:34
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:39
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:45
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:51
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:57
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:64
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:71
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:76
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:82
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:87
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:93
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:98
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:104
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:109
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:114
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:120
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:125
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:131
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:136
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:142
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:218
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:225
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:230
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:235
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:241
Defined in <ROOT>/library/base/Http/ExposeTrait.php:16
Defined in <ROOT>/library/base/Http/ExposeTrait.php:40
Defined in <ROOT>/library/base/Http/ExposeTrait.php:45
/** * @deprecated No longer needed with dynamic getters */ Defined in <ROOT>/library/base/Http/ExposeTrait.php:68
Defined in <ROOT>/library/base/Http/ServerRequest.php:63
Defined in <ROOT>/library/base/Http/ServerRequest.php:71
Defined in <ROOT>/library/base/Http/ServerRequest.php:100
| before | after | |
|---|---|---|
| index | array (0) | array (0) |
| view | array (1) | array (0) |
| create | array (0) | array (0) |
| update | array (1) | array (0) |
| trash | array (1) | array (0) |
| recover | array (1) | array (0) |
| delete | array (1) | array (0) |
| trashBin | array (0) | array (0) |
| schema | array (1) | array (0) |
| mediaAdd | array (1) | array (0) |
| mediaUpdate | array (1) | array (0) |
| mediaRemove | array (1) | array (0) |
Defined in <ROOT>/library/base/Controllers/Core.php:65
/** * @return mixed */ Defined in <ROOT>/library/base/Controllers/Core.php:77
/** * @param array $notification * * @return self */ Defined in <ROOT>/library/base/Controllers/Core.php:87
Defined in <ROOT>/library/base/Controllers/Core.php:112
/** * Envía las notificaciones a los servicios externos * * @param array $notification * @return void */ Defined in <ROOT>/library/base/Controllers/Core.php:122
/** * Establece el orden del registro, actualiza el orden del registro * recibido o retorna el orden del registro para el nuevo registro * * @param Illuminate\Database\Eloquent\Model $row Registro al cual se le establecerá el orden * * @return Illuminate\Database\Eloquent\Model Registro con el orden establecido */ Defined in <ROOT>/library/base/Controllers/Core.php:148
/** * Establece los elementos necesarios para que el núcleo de lógica del * componente trabaje correctamente * * @param Infinyti\Base\Controllers\BaseController $controller controlador que resuelve la solicitud * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:80
Defined in <ROOT>/library/base/Controllers/Core/Init.php:104
/** * Verifica si el atributo model es nulo y establece el modelo del controlador * en el atributo model del core, si el atributo model no es nulo no hace * instancia el modelo del atributo model del core. * * @param BaseController|ServerRequest $initData * @return void */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:125
/** * Verifica si el atributo eagerLoad es nulo y establece las relaciones que * se cargan con el modelo actual en el atributo eagerLoad del controlador, * si el atributo eagerLoad no es nulo no hace nada ya que las relaciones * ya fueron establecidas en el Core. * * @param BaseController|ServerRequest $initData * @return void */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:155
/** * Estable el valor de entidad, recursos y nombre de la relación de ese * recurso, puede ser reescrito manualmente en la clase Core de cada * componente * * @param BaseController|ServerRequest $request solicitud que se desea comprobar o controlador que resuelve la solicitud * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:175
/** * Verifica si la solicitud es una instancia de ServerRequest o un * BaseController y establece la solicitud PSR-7 en el atributo request * de core * * @param BaseController|ServerRequest $request solicitud que se desea comprobar o controlador que resuelve la solicitud * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:203
/** * Agrega el id del usuario que esta iniciado sesión a los datos del post recibido * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:229
/** * Agrega el id del negocio al que pertenece el usuario que esta iniciado sesión a los datos del post recibido * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:248
/** * @return Infinyti\Base\Controllers\BaseController */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:274
/** * Establece el controlador * @param Infinyti\Base\Controllers\BaseController $controller controlador que resuelve la solicitud * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:285
/** * @return Illuminate\Database\Eloquent\Model */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:304
/** * @param Illuminate\Database\Eloquent\Model $model * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:314
/** * @return Infinyti\Http\ServerRequest */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:328
/** * @param Infinyti\Http\ServerRequest $request * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:338
/** * @param mixed $services * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:350
/** * @return mixed */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:360
/** * Inicializa los servicios. externos para el core actual * * @return self ( description_of_the_return_value ) */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:370
/** * @return mixed */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:378
/** * @param mixed $appConfig * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:388
Defined in <ROOT>/library/base/Controllers/Core/Init.php:395
/** * Get the value of entity */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:428
/** * Set the value of entity * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:438
/** * Get the value of relationship */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:448
/** * Set the value of relationship * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:458
/** * Get the value of resource */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:468
/** * Set the value of resource * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:478
Defined in <ROOT>/library/base/Controllers/Core/Init.php:485
Defined in <ROOT>/library/base/Controllers/Core/SetupCrudOptions.php:29
Defined in <ROOT>/library/base/Controllers/Core/Validation.php:29
Defined in <ROOT>/library/base/Controllers/Core/Validation.php:44
Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:21
Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:39
Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:68
/** * @return mixed */ Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:139
/** * @param mixed $eagerLoad * * @return self */ Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:149
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:108
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:113
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:136
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:143
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:166
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:173
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:181
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:200
/** * Obtiene el registro de la entidad con la que trabaja la ruta * * @param array $data * @param array ...$args * * @return void */ Defined in <ROOT>/library/base/Controllers/Hooks/DefaultHooks.php:31
/** * Hook para inicializar el schema * * @param [type] $data * @param [type] ...$args * @return array */ Defined in <ROOT>/library/base/Controllers/Hooks/DefaultHooks.php:49
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:33
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:58
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:83
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:108
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:133
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:158
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:183
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:208
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:233
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:258
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:283
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:308
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:333
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:358
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:383
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:408
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:433
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:458
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:483
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:508
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:533
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:558
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:583
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:608
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:633
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:658
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:683
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:708
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:733
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:758
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:783
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:808
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:833
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:858
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:883
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:908
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:933
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:958
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:983
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1008
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1033
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1058
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1083
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1132
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1137
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1142
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1147
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1204
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1254
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1300
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1350
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1363
Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1368
/** * Inicializa los servicios. externos para el core actual * * @return self ( description_of_the_return_value ) */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:370
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:136
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:143
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:166
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:173
Defined in <ROOT>/library/base/Controllers/Core/HooksHandler.php:200
/** * Agrega el id del usuario que esta iniciado sesión a los datos del post recibido * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:229
/** * Agrega el id del negocio al que pertenece el usuario que esta iniciado sesión a los datos del post recibido * * @return self */ Defined in <ROOT>/library/base/Controllers/Core/Init.php:248
/** * Constructor to setup interceptors * * @param \Infinyti\Base\Controllers\Core $wrappedObject * @param \Closure[] $prefixInterceptors method interceptors to be used before * method logic * @param \Closure[] $suffixInterceptors method interceptors to be used before * method logic * * @return self */ Defined in <ROOT>/vendor/friendsofphp/proxy-manager-lts/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:1112
a:4:{s:9:"className";s:30:"Infinyti\Base\Controllers\Core";s:7:"factory";s:56:"ProxyManager\Factory\AccessInterceptorValueHolderFactory";s:19:"proxyManagerVersion";s:48:"v1.0.19@c20299aa9f48a622052964a75c5a4cef017398b2";s:12:"proxyOptions";a:0:{}}
YTo0OntzOjk6ImNsYXNzTmFtZSI7czozMDoiSW5maW55dGlcQmFzZVxDb250cm9sbGVyc1xDb3JlIjtzOjc6ImZhY3RvcnkiO3M6NTY6IlByb3h5TWFuYWdlclxGYWN0b3J5XEFjY2Vzc0ludGVyY2VwdG9yVmFsdWVIb2xkZXJGYWN0b3J5IjtzOjE5OiJwcm94eU1hbmFnZXJWZXJzaW9uIjtzOjQ4OiJ2MS4wLjE5QGMyMDI5OWFhOWY0OGE2MjIwNTI5NjRhNzVjNWE0Y2VmMDE3Mzk4YjIiO3M6MTI6InByb3h5T3B0aW9ucyI7YTowOnt9fQ==
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"id":"start:errors.404","workSpace":"front","uri":"\/error\/404","name":"404","uses":["errors"],"action":"error404","app":"start","entity":"errors","protocol":"https","url":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","access":"public","type":"browser","pattern":"\/^\\\/error\\\/404\\\/?$\/","core":null,"queryPath":"start:errors","method":"GET","permission":"root\/front\/start\/errors\/browser\/404","version":"1.0","url_referer":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","handler":["Start\\Errors\\Front\\ErrorsController","error404Action"]}
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"id":"start:errors.404","workSpace":"front","uri":"\/error\/404","name":"404","uses":["errors"],"action":"error404","app":"start","entity":"errors","protocol":"https","url":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","access":"public","type":"browser","pattern":"\/^\\\/error\\\/404\\\/?$\/","core":null,"queryPath":"start:errors","method":"GET","permission":"root\/front\/start\/errors\/browser\/404","version":"1.0","url_referer":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","handler":["Start\\Errors\\Front\\ErrorsController","error404Action"]}
Class [ <user> class Start\Errors\Front\ErrorsController extends Infinyti\Base\Controllers\BaseController ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 8-73
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [55] {
Property [ protected $refererUrl = NULL ]
Property [ protected $debug = false ]
Property [ protected $htmlEntities = true ]
Property [ protected $test = true ]
Property [ protected $apiKey = '0cbc0817-4cca-4510-8dbd-6a8e5b0a2531' ]
Property [ protected $core = NULL ]
Property [ protected $formSchema = NULL ]
Property [ protected $title = 'Nombre del recurso' ]
Property [ protected $titleNew = 'Nuevo recurso' ]
Property [ protected $titleEdit = 'Actualizar recurso' ]
Property [ protected $layout = 'layout' ]
Property [ protected $view = NULL ]
Property [ protected $actionViews = NULL ]
Property [ protected $request = NULL ]
Property [ protected $currentRoute = NULL ]
Property [ public $env = NULL ]
Property [ protected $entity = NULL ]
Property [ protected $action = NULL ]
Property [ protected $routes = NULL ]
Property [ protected $replaceRoutesVars = NULL ]
Property [ protected $reflection = NULL ]
Property [ protected $prefix = NULL ]
Property [ protected $compPath = NULL ]
Property [ protected $controller = NULL ]
Property [ protected $schema = NULL ]
Property [ protected $schemaName = NULL ]
Property [ protected $model = false ]
Property [ protected $modelName = NULL ]
Property [ protected $emailPath = NULL ]
Property [ protected $language = NULL ]
Property [ protected $langCode = NULL ]
Property [ protected $app = NULL ]
Property [ protected $component = NULL ]
Property [ protected $componentNamespace = NULL ]
Property [ protected $languageSkin = NULL ]
Property [ protected $languageDefault = NULL ]
Property [ protected $actionParams = [] ]
Property [ protected $apiKeyRoutes = ['api_signin', 'refreshToken'] ]
Property [ protected $kintTextMode = false ]
Property [ protected $relatedModels = NULL ]
Property [ protected $relatedRows = NULL ]
Property [ protected $relatedOptions = NULL ]
Property [ protected $eagerLoad = NULL ]
Property [ protected $mainMenu = NULL ]
Property [ protected $defaultFields = ['reorder' => ['template' => 'reorder', 'width' => '10px'], 'select' => ['template' => 'select', 'width' => '10px'], 'actions' => ['template' => 'actions', 'width' => '100px'], 'id' => ['template' => 'row-id', 'width' => '250px'], 'created_at' => ['template' => 'datetime', 'width' => '150px'], 'updated_at' => ['template' => 'datetime', 'width' => '150px'], 'deleted_at' => ['template' => 'deleted_at', 'action' => ['trashed']]] ]
Property [ protected $fields = [] ]
Property [ protected $hiddenFields = [] ]
Property [ public $indexActions = ['edit', 'trash'] ]
Property [ public $trashedActions = ['recovery', 'delete'] ]
Property [ protected $dataTable = NULL ]
Property [ public $selectFields = NULL ]
Property [ protected $blockedActions = NULL ]
Property [ protected $addUser = NULL ]
Property [ protected array $mediaRoutes = ['api_media_add', 'api_media_update', 'api_media_remove'] ]
Property [ protected array $customMediaRoutes ]
}
- Methods [124] {
Method [ <user> public method error404Action ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 44 - 59
- Parameters [1] {
Parameter #0 [ <optional> $params = NULL ]
}
}
Method [ <user> public method error403Action ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 61 - 72
- Parameters [1] {
Parameter #0 [ <optional> $params = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setup ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 81 - 101
- Parameters [1] {
Parameter #0 [ <optional> ?Infinyti\Http\ServerRequest $request = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method debugbarCollector ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 103 - 144
}
/**
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getPhrase ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 149 - 152
}
/**
* @param mixed $phrase
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setPhrase ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 159 - 164
- Parameters [1] {
Parameter #0 [ <required> $phrase ]
}
}
/**
* @return object
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCore ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 169 - 172
}
/**
* Establece la instancia de la capa de lógica de negocio del componente,
* se busca primero en el espacio de trabajo actual y si no existe
* se busca en el espacio de nombre general del componente. Si no existe
* ninguna de las dos, se instancia el core base.
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCore ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 182 - 208
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLayout ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 210 - 224
}
/**
* Inicia la salida de la acción solicitada, verifica la existencia
* de notificaciones, resultados negativos del proceso de validación,
* resultados del proceso de carga de ficheros, etc.
*
* @return array datos obtenidos por cookies o notificaciones
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method init ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 233 - 254
- Parameters [1] {
Parameter #0 [ <optional> $options = NULL ]
}
}
/**
* Inicia la ejecución de la acción solicitada procesando los datos antes de
* permitir el trabajo con base de datos.
*
* Procesa los ficheros recibidos
* Valida los datos enviados desde formularios
* Agrega el valor slug (cadena para url)
* Agrega el ordenamiento del registro
* Agrega parámetros adicionales de existir.
*
* @return array datos obtenidos por cookies o notificaciones
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method exec ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 268 - 327
}
/**
* Establece el registro del usuario y el role del usuario que inicio sesión
* en el array data
* @param array &$data Datos que serán enviados a la vista
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setUserAndRoleInData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 334 - 343
- Parameters [1] {
Parameter #0 [ <required> &$data ]
}
}
/**
* Configura y construye el formulario que sera enviado a la vista
* @param array &$data puede contener los datos que retornara el formulario
* @return array altera la variable data recibida por referencia
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 358 - 369
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <optional> $schemaName = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getExternalForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 371 - 394
- Parameters [2] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $externalSchema ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method validateForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 402 - 417
- Parameters [1] {
Parameter #0 [ <required> $post ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkStartSession ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 419 - 424
}
/**
* Obtiene el template del email a enviar desde un fichero
*
* @param string $name nombre del archivo del template
* @param array $data datos que se cargaran dinamicamente en el template
*
* @return strin html del template cargado
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEmailTemplate ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 440 - 480
- Parameters [2] {
Parameter #0 [ <required> $file ]
Parameter #1 [ <required> $data ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method urlCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 482 - 489
- Parameters [2] {
Parameter #0 [ <required> $phrase ]
Parameter #1 [ <optional> $id = '' ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 491 - 499
- Parameters [3] {
Parameter #0 [ <required> $subCodeA ]
Parameter #1 [ <required> $phrase ]
Parameter #2 [ <optional> $id = '' ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method process ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 501 - 510
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method coreExec ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 512 - 517
- Parameters [2] {
Parameter #0 [ <required> string $method ]
Parameter #1 [ <required> array $params ]
}
}
/**
* Procesa los ficheros cargados
*
* @return bool Retorna true si encuentra un error
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method files ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 40 - 73
- Parameters [1] {
Parameter #0 [ <optional> $value = '' ]
}
}
/**
* Verifica si hay archivos en $_FILES que no tengan error 4
*
* @return bool Retorna true si existen archivos válidos
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method checkFiles ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 228 - 255
- Parameters [1] {
Parameter #0 [ <optional> $files = NULL ]
}
}
/**
* Marca los archivos como subidos y actualiza los nombres en el array de post
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method setFilesUploaded ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 260 - 272
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method setView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 49 - 67
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method getView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 69 - 72
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method render ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 74 - 109
- Parameters [4] {
Parameter #0 [ <required> $view ]
Parameter #1 [ <optional> $vars = NULL ]
Parameter #2 [ <optional> $layout = NULL ]
Parameter #3 [ <optional> $response = true ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method processRender ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 111 - 130
- Parameters [4] {
Parameter #0 [ <required> $view ]
Parameter #1 [ <optional> $vars = NULL ]
Parameter #2 [ <optional> $layout = NULL ]
Parameter #3 [ <optional> $response = true ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method resolveView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 132 - 143
- Parameters [1] {
Parameter #0 [ <required> $view ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method checkViewData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 145 - 163
- Parameters [1] {
Parameter #0 [ <required> $args ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method initVars ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 167 - 183
- Parameters [1] {
Parameter #0 [ <required> $vars ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method ifDebug ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 185 - 190
- Parameters [1] {
Parameter #0 [ <required> &$vars ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method resourcesProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 17 - 20
}
/**
* Retrieve Instance of the executed application
*
* @return App
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getApplication ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 27 - 30
}
/**
* Sets Instance of the executed application
*
* @param Object $application
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setApplication ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 39 - 44
- Parameters [1] {
Parameter #0 [ <required> App $application ]
}
}
/**
* Retrievea Request made to the server
* @return ServerRequest
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRequest ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 50 - 53
}
/**
* Sets Request made to the server
*
* @param Object $request
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRequest ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 62 - 67
- Parameters [1] {
Parameter #0 [ <required> ?Infinyti\Http\ServerRequest $request ]
}
}
/**
* Initialize the route processing necessary to execute the request
*
* @return Controller Instance of the requested entity's controller
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method routeProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 60 - 71
}
/**
* Retrieve the current route
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCurrentRoute ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 78 - 81
}
/**
* Set the current route
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCurrentRoute ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 88 - 93
}
/**
* Retrieve environment in which the application works
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEnv ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 100 - 103
}
/**
* Sets environment in which the application works
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEnv ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 110 - 115
}
/**
* Retrieve name of the requested entity, table or resource
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEntity ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 122 - 125
}
/**
* Sets name of the requested entity, table or resource
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEntity ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 132 - 137
}
/**
* Retrieve name of the action that is executed in the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getAction ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 144 - 147
}
/**
* Sets name of the action that is executed in the request
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setAction ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 154 - 159
}
/**
* Retrieve all available routes for the current entity
*
* @return Infinyti\Library\Base\Warps\Collections\Collection
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 166 - 169
}
/**
* Sets all available routes for the current entity
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method setRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 176 - 204
}
/**
* Sets the route that is redirected when an action is canceled
*
* @param ServerRequest $request
* @return Controller Instance of the requested entity's controller
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setReturn ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 212 - 231
- Parameters [1] {
Parameter #0 [ <required> ?Infinyti\Http\ServerRequest $request ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method structuralProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 118 - 146
}
/**
* Retrieve reflection class
*
* @return Object
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getReflection ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 153 - 156
}
/**
* Sets reflection class
*
* @param Object $reflection
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setReflection ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 165 - 170
- Parameters [1] {
Parameter #0 [ <required> $reflection ]
}
}
/**
* Restrieve prefix of the namespace of the current component
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getPrefix ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 177 - 180
}
/**
* Sets prefix of the namespace of the current component
*
* @param string $prefix
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setPrefix ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 189 - 194
- Parameters [1] {
Parameter #0 [ <required> $prefix ]
}
}
/**
* Retrieve Path of the current component
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCompPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 200 - 203
}
/**
* Sets Path of the current component
* @param string $compPath
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCompPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 211 - 216
- Parameters [1] {
Parameter #0 [ <required> $compPath ]
}
}
/**
* Retrieve Name of controller requested
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getController ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 222 - 225
}
/**
* Sets Name of controller requested
*
* @param string $controller
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setController ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 234 - 240
- Parameters [1] {
Parameter #0 [ <required> $controller ]
}
}
/**
* Retrieve Name of the scheme for the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getSchema ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 247 - 250
}
/**
* Sets Name of the scheme for the request *
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSchema ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 256 - 287
- Parameters [1] {
Parameter #0 [ <optional> $schema = NULL ]
}
}
/**
* Retrieve instance of the scheme for the request
*
* @return [type]
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getSchemaName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 294 - 297
}
/**
* Sets instance of the scheme for the request
*
* @param String $schemaName
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSchemaName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 306 - 328
- Parameters [1] {
Parameter #0 [ <required> $schemaName ]
}
}
/**
* Retrieve Instance of the model for the request
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getModel ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 335 - 338
}
/**
* Sets Instance of the model for the request
*
* @param Object $model
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setModel ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 347 - 354
- Parameters [1] {
Parameter #0 [ <required> $model ]
}
}
/**
* Gets Name of the model for the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getModelName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 361 - 364
}
/**
* Sets Name of the model for the request
* @param string $modelName
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setModelName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 371 - 381
- Parameters [1] {
Parameter #0 [ <required> $modelName ]
}
}
/**
* Check if exists model files
*
* @param string $modelName
*
* @return string Model namespace
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkExistModelFile ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 390 - 411
- Parameters [1] {
Parameter #0 [ <required> $modelName ]
}
}
/**
* Retrieve Email templates path
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEmailPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 418 - 421
}
/**
* Sets Email templates path
*
* @param string $emailPath
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEmailPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 430 - 435
- Parameters [1] {
Parameter #0 [ <required> $emailPath ]
}
}
/**
* Retrieve Language path
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 442 - 445
}
/**
* Sets Language path
*
* @param string $language
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 454 - 460
- Parameters [1] {
Parameter #0 [ <required> $code ]
}
}
/**
* Retrieve language code
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLangCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 467 - 470
}
/**
* Sets language code
*
* @param string $langCode
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setLangCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 479 - 484
- Parameters [1] {
Parameter #0 [ <required> string $langCode ]
}
}
/**
* Load language files
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method loadLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 491 - 500
- Parameters [1] {
Parameter #0 [ <optional> $action = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method componentLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 502 - 507
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method skinLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 509 - 518
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method defaultLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 520 - 527
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method componentSkinLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 529 - 549
}
/**
* Retrieve configuration of the application that contains the requested component.
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getApp ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 556 - 559
}
/**
* Sets configuration of the application that contains the requested component.
*
* @param mixed $app
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setApp ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 568 - 581
- Parameters [1] {
Parameter #0 [ <optional> $app = NULL ]
}
}
/**
* Retrieve configuration of the requested component
*
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getComponent ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 588 - 591
}
/**
* Sets Configuration of the requested component
*
* @param mixed $component
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setComponent ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 600 - 615
- Parameters [1] {
Parameter #0 [ <optional> $entity = NULL ]
}
}
/**
* Retrieve the namespace of the currently requested component
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getComponentNamespace ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 622 - 625
}
/**
* Sets the namespace of the currently requested component
*
* @param string $componentNamespace
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setComponentNamespace ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 634 - 639
- Parameters [1] {
Parameter #0 [ <optional> $componentNamespace = NULL ]
}
}
/**
* Normaliza las varaibles de la ruta y los parametros recibidos
*
* @param array $data
* @param array $params
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method paramsResolve ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 648 - 698
- Parameters [2] {
Parameter #0 [ <required> array $data ]
Parameter #1 [ <required> array $params ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method hasActionParams ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 700 - 709
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getActionParams ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 711 - 748
- Parameters [1] {
Parameter #0 [ <required> array $params ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setMediaStructure ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 770 - 779
}
/**
* Inicializa los parámetros para responder a una petición API
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiInit ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 26 - 74
- Parameters [1] {
Parameter #0 [ <optional> ...$args ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiReturn ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 77 - 104
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $code = 200 ]
Parameter #2 [ <optional> $headers = ['Content-Type' => 'application/json; charset=UTF-8'] ]
Parameter #3 [ <optional> $jsonFlags = Infinyti\Base\Controllers\Middlewares\JSON_UNESCAPED_UNICODE ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiKey ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 106 - 124
}
/**
* Función para agregar las cabeceras de autorización de los CORS
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addCors ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 131 - 155
}
/**
* Función para recoger el json que llega en una petición post para añadirla al metodo post
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addJsonToPost ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 162 - 183
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkIdToken ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 185 - 211
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method initPerMethod ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 213 - 263
- Parameters [1] {
Parameter #0 [ <optional> array $data = [] ]
}
- Return [ Laminas\Diactoros\Response\JsonResponse|array ]
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRelatedData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 21 - 37
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <optional> ?array $elements = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRelatedModels ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 39 - 66
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRelatedElements ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 68 - 134
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <required> $element ]
}
}
/**
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEagerLoad ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 139 - 142
}
/**
* @param mixed $eagerLoad
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEagerLoad ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 149 - 154
- Parameters [1] {
Parameter #0 [ <required> $eagerLoad ]
}
}
/**
* Inicia la ejecución de los proceso necesarios para mostrar la interfaz de
* administración.
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method adminProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 45 - 60
}
/**
* Obtiene el menú de la interfaz de administración generado a partir de los
* ficheros de manifest en las aplicaciones y los ficheros config en los
* componentes
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setAdminMenu ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 69 - 76
}
/**
* Obtiene los títulos usados en la interfaz de administracion
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method setTitle ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 83 - 99
- Parameters [1] {
Parameter #0 [ <optional> $action = NULL ]
}
}
/**
* Fusiona los campos por defecto con los campos definidos en el controlador
* y los ordena según el orden definido en el controlador en la propiedad
* protected $fields
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 108 - 166
- Parameters [0] {
}
- Return [ self ]
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 168 - 171
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSelectFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 173 - 193
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setDataTable ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 195 - 204
}
/**
* Retorna los campos que se ocultan en la tabla de datos
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getHiddenFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 210 - 214
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method mvvmProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ManifestMvvm.php 31 - 34
}
/**
* Create manifest file to work with MVVM
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setManifestMVVM ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ManifestMvvm.php 38 - 56
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method operationsProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 11 - 14
}
/**
* Redireccionar a la url indica, si hay una url de retorno, la redirección
* se realizará a dicha url
*
*
* @param string $url
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method redirect ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 27 - 60
- Parameters [1] {
Parameter #0 [ <optional> $url = NULL ]
}
}
/**
* Funcion para redireccionar a la url de retorno
*
* @param boolean $getParams indica si se deben enviar los parametros de la url
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method back ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 68 - 77
- Parameters [1] {
Parameter #0 [ <optional> bool $getParams = false ]
}
}
/**
* Redirecciona a una ruta del mismo componente que recibe como parametro el
* id de un registro Ej. edit/$uuid
*
* @param string $actionName nombre de la ruta a la que se redirecciona
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method redirectFromGet ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 85 - 96
- Parameters [1] {
Parameter #0 [ <required> $actionName ]
}
}
/**
* Search methods that contain in their name the string received as a parameter
*
* @param string $like
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method searchMethods ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 105 - 118
- Parameters [1] {
Parameter #0 [ <required> string $like ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method prepareRow ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 120 - 143
- Parameters [1] {
Parameter #0 [ <required> &$value ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method order ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 145 - 169
- Parameters [1] {
Parameter #0 [ <optional> $model = NULL ]
}
}
/**
* Verifica si el modelo tiene un modelo de medios, y la ruta actual esta entre las
* rutas de medios
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method changeToMediaStructure ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 24 - 27
- Parameters [0] {
}
- Return [ bool ]
}
/**
* Verifica si el controlador tiene rutas de medios o si las rutas de medios
* personalizadas fueron agregadas
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method hasMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 35 - 38
- Parameters [0] {
}
- Return [ bool ]
}
/**
* Importa las rutas de medios de un controlador padre o objeto
* Si se proporciona un objeto padre, fusiona sus rutas de medios con las
* rutas de medios actuales,asegurando que no haya rutas duplicadas.
*
* @param Object|null $parentObject El objeto padre que contiene las rutas de medios
*
* @return self Retorna el objeto actual con las rutas de medios fusionadas
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method importMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 49 - 61
- Parameters [1] {
Parameter #0 [ <required> ?object $parentObject ]
}
- Return [ self ]
}
/**
* Obtiene las rutas de medios
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 75 - 78
- Parameters [0] {
}
- Return [ array ]
}
/**
* Establece las rutas de medios
*
* @param array $customMediaRoutes Arreglo con los nombres de las rutas agregar
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 86 - 91
- Parameters [1] {
Parameter #0 [ <required> array $customMediaRoutes ]
}
- Return [ self ]
}
/**
* Obtiene las rutas personalizadas
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 98 - 101
- Parameters [0] {
}
- Return [ array ]
}
/**
* Agrega una o mas rutas personalizadas al arreglo de rutas de medios
*
* @param array|string $customMediaRoutes
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 109 - 118
- Parameters [1] {
Parameter #0 [ <required> array|string $customMediaRoutes ]
}
- Return [ self ]
}
}
}
Method [ <user> public method error404Action ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 44 - 59
- Parameters [1] {
Parameter #0 [ <optional> $params = NULL ]
}
}
Defined in <ROOT>/library/base/Router/Dispatcher.php:50
Defined in <ROOT>/library/base/Router/Dispatcher.php:77
Defined in <ROOT>/library/base/Router/Dispatcher.php:82
Defined in <ROOT>/library/base/Router/Dispatcher.php:90
Defined in <ROOT>/library/base/Router/Dispatcher.php:99
Defined in <ROOT>/library/base/Router/Dispatcher.php:114
Defined in <ROOT>/library/base/Router/Dispatcher.php:121
Defined in <ROOT>/library/base/Router/Dispatcher.php:134
Defined in <ROOT>/library/base/Router/Dispatcher.php:141
Defined in <ROOT>/library/base/Router/Dispatcher.php:155
Defined in <ROOT>/library/base/Router/Dispatcher.php:162
Defined in <ROOT>/library/base/Router/Dispatcher.php:167
Defined in <ROOT>/library/base/Router/Dispatcher.php:177
Defined in <ROOT>/library/base/Router/Dispatcher.php:209
Defined in <ROOT>/library/base/Router/Dispatcher.php:214
/** * Process the parameters received with the request and establish the models * and dependencies requested by the action / method * * @param Array $routeParams Parameters received in the request * @return mixed */ Defined in <ROOT>/library/base/Router/Parameters.php:64
/** * Returns the parameters * * @return Array params */ Defined in <ROOT>/library/base/Router/Parameters.php:84
/** * Sets the values of the parameters received in the request * * @param Array $segments Parameters * @return Kernel/Request */ Defined in <ROOT>/library/base/Router/Parameters.php:95
Defined in <ROOT>/library/base/Router/Parameters.php:108
Defined in <ROOT>/library/base/Router/Parameters.php:120
Defined in <ROOT>/library/base/Router/Parameters.php:125
Defined in <ROOT>/library/base/Router/Parameters.php:138
Defined in <ROOT>/library/base/Router/Parameters.php:143
Defined in <ROOT>/library/base/Router/Parameters.php:155
Defined in <ROOT>/library/base/Router/Parameters.php:175
Defined in <ROOT>/library/base/Router/Parameters.php:227
/** * Obtiene los argumentos que requiere la dependencia cuanto se retorna su * instancia desde un método getInstance usado normalmente en el patrón singleton * @param ReflectionClass $dependency Clases requerida * @param ReflectionMethod $method Método solicitado * @return array Argumentos solicitados en el método */ Defined in <ROOT>/library/base/Router/Parameters.php:251
Defined in <ROOT>/library/base/Router/Parameters.php:271
https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler
drwxr-xr-x 0 0 4096 Jul 16 02:53 /var/www
-rwxr-xr-x 0 0 2080 Jul 16 14:36 /var/www/ideasfarm/public_html/index.php
drwxr-xr-x 33 33 4096 Jul 26 12:40 /var/www/ideasfarm/public_html
drwxr-xr-x 33 33 4096 Jul 26 12:40 /var/www/ideasfarm/public_html
<address>Apache/2.4.58 (Ubuntu) Server at dev-gramedia.ideasfarm.net Port 443</address>
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
2026-07-30T02:26:27+00:00
mongodb://dev-gramedia:9ef5276b-7384-4f62-859e-de548584f3ea@dev-gramedia.ideasfarm.net:27017/admin
operations,
notifications,
pushNotification,
whatsapp,
email,
facebook,
google,
twitter,
tinify,
getoutpdf,
cloudconvert,
mailjet,
recaptcha,
digitalOcean
ASpxy9kyFBQ7K2ONYlHR8X55WRh2T96QW7iNyJnLDo02Tw91NzBHaqUuqQLMvYMLodiDs5PwY_96RU3U
ED77aQTxGFO9XnhhrwR-0wGX5jRPt46dtYjnPt9R0WrscvUa-nF62C-p2U3FVvEvIF6aevjbHCK_dAAm
AUCTIONS.model=Protocols\Farms\Models\FarmsModel,
FARM.model=Protocols\Farms\Models\FarmsModel,
PROVIDER.model=Protocols\Farms\Models\FarmsModel
farms=Protocols\Farms\Models\FarmsModel,
provides=Inventory\Inventory\Models\ProvidersModel
farms=FarmsMembersModel,
provides=ProvidersMembersModel
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
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:83
/** * Operations to perform on clone. * * Since cloning usually is for purposes of mutation, we reset the * $uriString property so it will be re-calculated. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:99
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:108/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:130/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:139/**
* Retrieve the user-info part of the URI.
*
* This value is percent-encoded, per RFC 3986 Section 3.2.1.
*
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:165/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:174/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:183/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:194/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:214/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:223/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:232/**
* Create and return a new instance containing the provided user credentials.
*
* The value will be percent-encoded in the new instance, but with measures
* taken to prevent double-encoding.
*
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:259/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:286/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:303/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:327/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:358/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:383/**
* Parse a URI into its parts, and set the properties
*
* @psalm-suppress InaccessibleProperty Method is only called in {@see Uri::__construct} and thus immutability is
* still given.
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:404/** * Is a given port non-standard for the current scheme? * * @psalm-assert-if-true int $port */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:469
/** * Filters the scheme to ensure it is a valid scheme. * * @param string $scheme Scheme name. * @return string Filtered scheme. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:488
/** * Filters a part of user info in a URI to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:512
/** * Filters the path of a URI to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:532
/** * Encode invalid UTF-8 characters in given string. All other characters are unchanged. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:548
/** * Filter a query string to ensure it is propertly encoded. * * Ensures that the values in the query string are properly urlencoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:570
/**
* Split a query value into a key/value tuple.
*
* @return array{0:string, 1:string|null} A value with exactly two elements, key and value
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:598/** * Filter a fragment value to ensure it is properly encoded. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:610
/** * Filter a query string key or value, or a fragment. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:622
/** * URL encode a character returned by a regex. * * @param array<string> $matches * @psalm-pure */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:641
/** * Create a URI string from its various parts */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Uri.php:430
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
/** * @param string|object|resource $stream * @param string $mode Mode with which to open stream * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:56
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:65/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:86/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:101/** * Attach a new stream/resource to the instance. * * @param string|object|resource $resource * @throws Exception\InvalidArgumentException For stream identifier that cannot be cast to a resource. * @throws Exception\InvalidArgumentException For non-resource stream. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:115
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:124/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:142/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:160/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:173/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:187/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:208/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:217/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:237/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:260/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:276/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:299/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:317/** * Set the internal stream resource. * * @param string|object|resource $stream String stream target or stream resource. * @param string $mode Resource mode for stream target. * @throws Exception\InvalidArgumentException For invalid streams or resources. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:342
/** * Determine if a resource is one of the resource types allowed to instantiate a Stream * * @param mixed $resource Stream resource. * @psalm-assert-if-true resource $resource */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/Stream.php:384
/** * @param array $serverParams Server parameters, typically from $_SERVER * @param array $uploadedFiles Upload file information, a tree of UploadedFiles * @param null|string|UriInterface $uri URI for the request, if any. * @param null|string $method HTTP method for the request, if any. * @param string|resource|StreamInterface $body Message body, if any. * @param array<non-empty-string, string|string[]> $headers Headers for the message, if any. * @param array $cookieParams Cookies for the message, if any. * @param array $queryParams Query params for the message, if any. * @param null|array|object $parsedBody The deserialized body parameters, if any. * @param string $protocol HTTP protocol version. * @throws Exception\InvalidArgumentException For any invalid value. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:54
/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:81/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:90/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:99/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:111/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:120/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:131/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:140/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:151/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:160/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:180/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:189/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:202/**
* {@inheritdoc}
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:213/** * Recursively validate the structure in an uploaded files array. * * @throws Exception\InvalidArgumentException If any leaf is not an UploadedFileInterface instance. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/ServerRequest.php:225
/** * Initialize request state. * * Used by constructors. * * @param null|string|UriInterface $uri URI for the request, if any. * @param null|string $method HTTP method for the request, if any. * @param string|resource|StreamInterface $body Message body, if any. * @param array<non-empty-string, string|string[]> $headers Headers for the message, if any. * @throws Exception\InvalidArgumentException For any invalid value. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:55
/** * Create and return a URI instance. * * If `$uri` is a already a `UriInterface` instance, returns it. * * If `$uri` is a string, passes it to the `Uri` constructor to return an * instance. * * If `$uri is null, creates and returns an empty `Uri` instance. * * Otherwise, it raises an exception. * * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:92
/** * Retrieves the message's request target. * * Retrieves the message's request-target either as it will appear (for * clients), as it appeared at request (for servers), or as it was * specified for the instance (see withRequestTarget()). * * In most cases, this will be the origin-form of the composed URI, * unless a value was provided to the concrete implementation (see * withRequestTarget() below). * * If no URI is available, and no request-target has been specifically * provided, this method MUST return the string "/". */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:119
/** * Create a new instance with a specific request-target. * * If the request needs a non-origin-form request-target — e.g., for * specifying an absolute-form, authority-form, or asterisk-form — * this method may be used to create an instance with the specified * request-target, verbatim. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return a new instance that has the * changed request target. * * @link http://tools.ietf.org/html/rfc7230#section-2.7 (for the various * request-target forms allowed in request messages) * * @throws Exception\InvalidArgumentException If the request target is invalid. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:155
/** * Retrieves the HTTP method of the request. * * @return string Returns the request method. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:173
/** * Return an instance with the provided HTTP method. * * While HTTP method names are typically all uppercase characters, HTTP * method names are case-sensitive and thus implementations SHOULD NOT * modify the given string. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * changed request method. * * @param string $method Case-insensitive method. * @throws Exception\InvalidArgumentException For invalid HTTP methods. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:193
/** * Retrieves the URI instance. * * This method MUST return a UriInterface instance. * * @link http://tools.ietf.org/html/rfc3986#section-4.3 * * @return UriInterface Returns a UriInterface instance * representing the URI of the request, if any. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:210
/**
* Returns an instance with the provided URI.
*
* This method will update the Host header of the returned request by
* default if the URI contains a host component. If the URI does not
* contain a host component, any pre-existing Host header will be carried
* over to the returned request.
*
* You can opt-in to preserving the original state of the Host header by
* setting `$preserveHost` to `true`. When `$preserveHost` is set to
* `true`, the returned request will not update the Host header of the
* returned message -- even if the message contains no Host header. This
* means that a call to `getHeader('Host')` on the original request MUST
* equal the return value of a call to `getHeader('Host')` on the returned
* request.
*
* This method MUST be implemented in such a way as to retain the
* immutability of the message, and MUST return an instance that has the
* new UriInterface instance.
*
* @link http://tools.ietf.org/html/rfc3986#section-4.3
*
* @param UriInterface $uri New request URI to use.
* @param bool $preserveHost Preserve the original state of the Host header.
* @return static
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:241/** * Set and validate the HTTP method * * @throws Exception\InvalidArgumentException On invalid HTTP method. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:280
/** * Retrieve the host from the URI instance */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/RequestTrait.php:294
/** * Retrieves the HTTP protocol version as a string. * * The string MUST contain only the HTTP version number (e.g., "1.1", "1.0"). * * @return string HTTP protocol version. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:59
/** * Return an instance with the specified HTTP protocol version. * * The version string MUST contain only the HTTP version number (e.g., * "1.1", "1.0"). * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new protocol version. * * @param string $version HTTP protocol version * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:77
/**
* Retrieves all message headers.
*
* The keys represent the header name as it will be sent over the wire, and
* each value is an array of strings associated with the header.
*
* // Represent the headers as a string
* foreach ($message->getHeaders() as $name => $values) {
* echo $name . ": " . implode(", ", $values);
* }
*
* // Emit headers iteratively:
* foreach ($message->getHeaders() as $name => $values) {
* foreach ($values as $value) {
* header(sprintf('%s: %s', $name, $value), false);
* }
* }
*
* @return array Returns an associative array of the message's headers. Each
* key MUST be a header name, and each value MUST be an array of strings.
* @psalm-return array<non-empty-string, list<string>>
*/
Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:107/** * Checks if a header exists by the given case-insensitive name. * * @param string $name Case-insensitive header name. * @return bool Returns true if any header names match the given header * name using a case-insensitive string comparison. Returns false if * no matching header name is found in the message. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:120
/** * Retrieves a message header value by the given case-insensitive name. * * This method returns an array of all the header values of the given * case-insensitive header name. * * If the header does not appear in the message, this method MUST return an * empty array. * * @param string $name Case-insensitive header field name. * @return string[] An array of string values as provided for the given * header. If the header does not appear in the message, this method MUST * return an empty array. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:139
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. * * If the header does not appear in the message, this method MUST return * an empty string. * * @param string $name Case-insensitive header field name. * @return string A string of values as provided for the given header * concatenated together using a comma. If the header does not appear in * the message, this method MUST return an empty string. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:170
/** * Return an instance with the provided header, replacing any existing * values of any headers with the same case-insensitive name. * * While header names are case-insensitive, the casing of the header will * be preserved by this function, and returned from getHeaders(). * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new and/or updated header and value. * * @param string $name Case-insensitive header field name. * @param string|string[] $value Header value(s). * @return static * @throws Exception\InvalidArgumentException For invalid header names or values. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:196
/** * Return an instance with the specified header appended with the * given value. * * Existing values for the specified header will be maintained. The new * value(s) will be appended to the existing list. If the header did not * exist previously, it will be added. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that has the * new header and/or value. * * @param string $name Case-insensitive header field name to add. * @param string|string[] $value Header value(s). * @return static * @throws Exception\InvalidArgumentException For invalid header names or values. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:232
/** * Return an instance without the specified header. * * Header resolution MUST be done without case-sensitivity. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return an instance that removes * the named header. * * @param string $name Case-insensitive header field name to remove. * @return static */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:260
/** * Gets the body of the message. * * @return StreamInterface Returns the body as a stream. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:279
/** * Return an instance with the specified message body. * * The body MUST be a StreamInterface object. * * This method MUST be implemented in such a way as to retain the * immutability of the message, and MUST return a new instance that has the * new body stream. * * @param StreamInterface $body Body. * @return static * @throws Exception\InvalidArgumentException When the body is not valid. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:297
/** @param StreamInterface|string|resource $stream */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:305
/** * Filter a set of headers to ensure they are in the correct internal format. * * Used by message constructors to allow setting all initial headers at once. * * @param array<non-empty-string, string|string[]> $originalHeaders Headers to filter. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:330
/** * Validate the HTTP protocol version * * @throws Exception\InvalidArgumentException On invalid HTTP protocol version. */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:352
/** @return list<string> */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:371
/** * Ensure header name and values are valid. * * @psalm-assert non-empty-string $name * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-diactoros/src/MessageTrait.php:403
/** * @param string $storageKey The key used to store attributes in the session */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:33
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:38
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:43
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:48
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:53
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:58
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:63
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:68
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:73
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:81
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:92
/** * Returns an iterator for attributes. * * @return \ArrayIterator<string, mixed> */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:105
/** * Returns the number of attributes. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:113
2026-07-30T02:26:27+00:00
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:25
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:77
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:82
/** * @param string $storageKey The key used to store flashes in the session */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:27
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:32
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:42
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:52
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:57
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:62
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:75
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:83
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:88
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:93
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:98
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:25
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:77
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:82
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:23
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. * * @internal */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:36
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:41
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:48
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:53
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:58
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:63
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:71
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:83
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:47
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:55
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:85
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:21
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:35
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:40
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:45
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:50
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:55
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:70
/** * Gets the session.save_handler name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:26
/** * Is this proxy handler and instance of \SessionHandlerInterface. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:34
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:42
/** * Has a session started? */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:50
/** * Gets the session ID. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:58
/** * Sets the session ID. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:68
/** * Gets the session name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:80
/** * Sets the session name. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:90
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates * @param int|null $cookieLifetime The configured cookie lifetime; null to read from php.ini */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:39
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:46
/** * Gets the lifetime that the session cookie was set with. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:65
/** * Stamps a new session's metadata. * * @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:83
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:93
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:114
/** * Sets name. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:122
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:127
/**
* Depending on how you want the storage driver to behave you probably
* want to override this constructor entirely.
*
* List of options for $options array with their defaults.
*
* @see https://php.net/session.configuration for options
* but we omit 'session.' from the beginning of the keys for convenience.
*
* ("auto_start", is not supported as it tells PHP to start a session before
* PHP starts to execute user-land code. Setting during runtime has no effect).
*
* cache_limiter, "" (use "0" to prevent headers from being sent entirely).
* cache_expire, "0"
* cookie_domain, ""
* cookie_httponly, ""
* cookie_lifetime, "0"
* cookie_path, "/"
* cookie_secure, ""
* cookie_samesite, null
* gc_divisor, "100"
* gc_maxlifetime, "1440"
* gc_probability, "1"
* lazy_write, "1"
* name, "PHPSESSID"
* referer_check, "" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* serialize_handler, "php"
* use_strict_mode, "1"
* use_cookies, "1"
* use_only_cookies, "1" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* use_trans_sid, "0" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* sid_length, "32" (@deprecated since Symfony 7.2, to be removed in 8.0)
* sid_bits_per_character, "5" (@deprecated since Symfony 7.2, to be removed in 8.0)
* trans_sid_hosts, $_SERVER['HTTP_HOST'] (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* trans_sid_tags, "a=href,area=href,frame=src,form=" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:76/** * Gets the save handler instance. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:100
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:105
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:167
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:177
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:187
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:211
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:250
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:264
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:273
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:288
/** * Gets the MetadataBag. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:296
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:301
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:316
/**
* Registers session save handler as a PHP session handler.
*
* To use internal PHP session save handlers, override this method using ini_set with
* session.save_handler and session.save_path e.g.
*
* ini_set('session.save_handler', 'files');
* ini_set('session.save_path', '/tmp');
*
* or pass in a \SessionHandler instance which configures session.save_handler in the
* constructor, for a template see NativeFileSessionHandler.
*
* @see https://php.net/session-set-save-handler
* @see https://php.net/sessionhandlerinterface
* @see https://php.net/sessionhandler
*
* @throws \InvalidArgumentException
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:364/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:391
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
/** * @param string $storageKey The key used to store attributes in the session */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:33
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:38
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:43
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:48
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:53
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:58
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:63
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:68
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:73
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:81
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:92
/** * Returns an iterator for attributes. * * @return \ArrayIterator<string, mixed> */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:105
/** * Returns the number of attributes. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php:113
2026-07-30T02:26:27+00:00
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:25
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:77
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:82
/** * @param string $storageKey The key used to store flashes in the session */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:27
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:32
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:42
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:52
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:57
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:62
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:75
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:83
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:88
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:93
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:98
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Flash/FlashBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:25
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:37
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:47
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:77
Defined in <ROOT>/vendor/symfony/http-foundation/Session/SessionBagProxy.php:82
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:23
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. * * @internal */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:36
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:41
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:48
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:53
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:58
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:63
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:71
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:83
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:47
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:55
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php:85
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:21
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:28
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:35
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:40
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:45
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:50
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:55
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:60
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:65
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:70
/** * Gets the session.save_handler name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:26
/** * Is this proxy handler and instance of \SessionHandlerInterface. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:34
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:42
/** * Has a session started? */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:50
/** * Gets the session ID. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:58
/** * Sets the session ID. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:68
/** * Gets the session name. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:80
/** * Sets the session name. * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:90
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
2026-07-30T02:26:27+00:00
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates * @param int|null $cookieLifetime The configured cookie lifetime; null to read from php.ini */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:39
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:46
/** * Gets the lifetime that the session cookie was set with. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:65
/** * Stamps a new session's metadata. * * @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:78
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:83
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:93
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:103
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:108
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:114
/** * Sets name. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:122
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/MetadataBag.php:127
/**
* Depending on how you want the storage driver to behave you probably
* want to override this constructor entirely.
*
* List of options for $options array with their defaults.
*
* @see https://php.net/session.configuration for options
* but we omit 'session.' from the beginning of the keys for convenience.
*
* ("auto_start", is not supported as it tells PHP to start a session before
* PHP starts to execute user-land code. Setting during runtime has no effect).
*
* cache_limiter, "" (use "0" to prevent headers from being sent entirely).
* cache_expire, "0"
* cookie_domain, ""
* cookie_httponly, ""
* cookie_lifetime, "0"
* cookie_path, "/"
* cookie_secure, ""
* cookie_samesite, null
* gc_divisor, "100"
* gc_maxlifetime, "1440"
* gc_probability, "1"
* lazy_write, "1"
* name, "PHPSESSID"
* referer_check, "" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* serialize_handler, "php"
* use_strict_mode, "1"
* use_cookies, "1"
* use_only_cookies, "1" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* use_trans_sid, "0" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* sid_length, "32" (@deprecated since Symfony 7.2, to be removed in 8.0)
* sid_bits_per_character, "5" (@deprecated since Symfony 7.2, to be removed in 8.0)
* trans_sid_hosts, $_SERVER['HTTP_HOST'] (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
* trans_sid_tags, "a=href,area=href,frame=src,form=" (deprecated since Symfony 7.2, to be removed in Symfony 8.0)
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:76/** * Gets the save handler instance. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:100
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:105
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:167
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:177
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:187
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:211
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:250
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:264
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:273
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:288
/** * Gets the MetadataBag. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:296
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:301
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:316
/**
* Registers session save handler as a PHP session handler.
*
* To use internal PHP session save handlers, override this method using ini_set with
* session.save_handler and session.save_path e.g.
*
* ini_set('session.save_handler', 'files');
* ini_set('session.save_path', '/tmp');
*
* or pass in a \SessionHandler instance which configures session.save_handler in the
* constructor, for a template see NativeFileSessionHandler.
*
* @see https://php.net/session-set-save-handler
* @see https://php.net/sessionhandlerinterface
* @see https://php.net/sessionhandler
*
* @throws \InvalidArgumentException
*/
Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:364/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Defined in <ROOT>/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:391
/** * Constructor de la clase Session. * * @param SessionStorageInterface $storage Almacenamiento de la sesión. * @param AttributeBagInterface $attributes Atributos de la sesión. * @param FlashBagInterface $flashes FlashBag para mensajes flash. * @param array $config Configuración de la sesión. * @param LoggerInterface $logger Logger para el registro de actividades. */ Defined in <ROOT>/library/base/warps/Session/Session.php:73
/** * Crea un nuevo namespace dentro de la sesión. * * @param string $namespace El nombre del namespace a crear. * @return SessionNamespace Una nueva instancia de SessionNamespace para gestionar los datos dentro del namespace. */ Defined in <ROOT>/library/base/warps/Session/Session.php:118
Defined in <ROOT>/library/base/warps/Session/Session.php:123
/** * Obtiene la configuración de la sesión * * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Session.php:133
/** * Establece la configuración de la sesión * * @param mixed $config * * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:145
/** * @param mixed $name * * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:161
/** * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Session.php:182
/** * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:191
/** * Establece la cookie de sesión utilizando Symfony's Cookie. * * @param Cookie|null $cookie Objeto Cookie de Symfony si se proporciona, de lo contrario se creará una nueva cookie. * @return self */ Defined in <ROOT>/library/base/warps/Session/Session.php:205
Defined in <ROOT>/library/base/warps/Session/Session.php:226
/** * Inicia la sesión customizada para Infinyti. * * @param [type] $request * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:240
/** * Destruye la sesión * * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:274
/** * Obtiene un valor de la sesión * * @param string $name * * @return void */ Defined in <ROOT>/library/base/warps/Session/Session.php:286
/** * Obtiene todos los datos almacenados en la sesión. * * Este método devuelve un array asociativo con todos los datos de la sesión. * Es útil para obtener una visión completa de lo que se almacena en la sesión, * sin necesidad de acceder a cada clave individualmente. * * @return array Array asociativo con todos los datos de la sesión. */ Defined in <ROOT>/library/base/warps/Session/Session.php:300
/** * Genera un token CSRF y lo almacena en la sesión. * * @return string El token CSRF generado. */ Defined in <ROOT>/library/base/warps/Session/Session.php:315
/** * Valida un token CSRF. * * @param string $token El token CSRF a validar. * @return bool Verdadero si el token es válido, falso en caso contrario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:328
/** * Determina si es necesario regenerar el ID de la sesión. * * @return bool Verdadero si es necesario regenerar el ID, falso en caso contrario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:345
/** * Regenera el ID de la sesión si es necesario. */ Defined in <ROOT>/library/base/warps/Session/Session.php:358
Defined in <ROOT>/library/base/warps/Session/Session.php:367
Defined in <ROOT>/library/base/warps/Session/Session.php:373
Defined in <ROOT>/library/base/warps/Session/Session.php:379
Defined in <ROOT>/library/base/warps/Session/Session.php:384
Defined in <ROOT>/library/base/warps/Session/Session.php:389
Defined in <ROOT>/library/base/warps/Session/Session.php:394
Defined in <ROOT>/library/base/warps/Session/Session.php:399
Defined in <ROOT>/library/base/warps/Session/Session.php:404
Defined in <ROOT>/library/base/warps/Session/Session.php:409
Defined in <ROOT>/library/base/warps/Session/Session.php:414
Defined in <ROOT>/library/base/warps/Session/Session.php:419
Defined in <ROOT>/library/base/warps/Session/Session.php:424
Defined in <ROOT>/library/base/warps/Session/Session.php:429
Defined in <ROOT>/library/base/warps/Session/Session.php:434
Defined in <ROOT>/library/base/warps/Session/Session.php:440
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:62
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:67
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:77
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:82
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:87
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:92
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:97
/** * Returns an iterator for attributes. * * @return \ArrayIterator<string, mixed> */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:107
/** * Returns the number of attributes. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:115
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:120
/** * @internal */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:128
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:145
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:152
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:157
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:162
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:167
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:174
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:179
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:184
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:194
Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:199
/** * Gets the flashbag interface. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:209
/** * Unset a value within session data. * * @param string ...$keys All the keys to remove from the session * * @return SessionInterface */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:65
/** * Converts the passed session key into a flashed key. * * @param string $key The key to convert * * @return string */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:110
/** * Retrieve a one-time value from the session data. * * @param string $key The name of the flash value to retrieve * * @return mixed */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:123
/** * Set a one-time value within session data. * * @param string $key The name of the flash value to update * @param mixed $value The value to store against the key * * @return SessionInterface */ Defined in <ROOT>/library/base/warps/Session/Traits/SessionTrait.php:143
/** * Gets the attributebag interface. * * Note that this method was added to help with IDE autocompletion. */ Inherited from Symfony\Component\HttpFoundation\Session\Session Defined in <ROOT>/vendor/symfony/http-foundation/Session/Session.php:219
2026-07-30T02:26:27+00:00
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/Http/ServerRequest.php:22
Defined in <ROOT>/library/base/Http/ServerRequest.php:50
Defined in <ROOT>/library/base/Http/ServerRequest.php:58
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:8
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:13
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:19
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:24
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:29
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:34
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:39
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:45
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:51
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:57
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:64
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:71
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:76
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:82
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:87
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:93
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:98
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:104
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:109
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:114
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:120
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:125
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:131
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:136
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:142
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:218
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:225
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:230
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:235
Defined in <ROOT>/library/base/Http/RequestMethodsTrait.php:241
Defined in <ROOT>/library/base/Http/ExposeTrait.php:16
Defined in <ROOT>/library/base/Http/ExposeTrait.php:40
Defined in <ROOT>/library/base/Http/ExposeTrait.php:45
/** * @deprecated No longer needed with dynamic getters */ Defined in <ROOT>/library/base/Http/ExposeTrait.php:68
Defined in <ROOT>/library/base/Http/ServerRequest.php:63
Defined in <ROOT>/library/base/Http/ServerRequest.php:71
Defined in <ROOT>/library/base/Http/ServerRequest.php:100
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"id":"start:errors.404","workSpace":"front","uri":"\/error\/404","name":"404","uses":["errors"],"action":"error404","app":"start","entity":"errors","protocol":"https","url":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","access":"public","type":"browser","pattern":"\/^\\\/error\\\/404\\\/?$\/","core":null,"queryPath":"start:errors","method":"GET","permission":"root\/front\/start\/errors\/browser\/404","version":"1.0","url_referer":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","handler":["Start\\Errors\\Front\\ErrorsController","error404Action"]}
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"403":"https:\/\/dev-gramedia.ideasfarm.net\/error\/403","404":"https:\/\/dev-gramedia.ideasfarm.net\/error\/404","cancel":null}
Class [ <user> class Start\Errors\Front\ErrorsController extends Infinyti\Base\Controllers\BaseController ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 8-73
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [55] {
Property [ protected $refererUrl = NULL ]
Property [ protected $debug = false ]
Property [ protected $htmlEntities = true ]
Property [ protected $test = true ]
Property [ protected $apiKey = '0cbc0817-4cca-4510-8dbd-6a8e5b0a2531' ]
Property [ protected $core = NULL ]
Property [ protected $formSchema = NULL ]
Property [ protected $title = 'Nombre del recurso' ]
Property [ protected $titleNew = 'Nuevo recurso' ]
Property [ protected $titleEdit = 'Actualizar recurso' ]
Property [ protected $layout = 'layout' ]
Property [ protected $view = NULL ]
Property [ protected $actionViews = NULL ]
Property [ protected $request = NULL ]
Property [ protected $currentRoute = NULL ]
Property [ public $env = NULL ]
Property [ protected $entity = NULL ]
Property [ protected $action = NULL ]
Property [ protected $routes = NULL ]
Property [ protected $replaceRoutesVars = NULL ]
Property [ protected $reflection = NULL ]
Property [ protected $prefix = NULL ]
Property [ protected $compPath = NULL ]
Property [ protected $controller = NULL ]
Property [ protected $schema = NULL ]
Property [ protected $schemaName = NULL ]
Property [ protected $model = false ]
Property [ protected $modelName = NULL ]
Property [ protected $emailPath = NULL ]
Property [ protected $language = NULL ]
Property [ protected $langCode = NULL ]
Property [ protected $app = NULL ]
Property [ protected $component = NULL ]
Property [ protected $componentNamespace = NULL ]
Property [ protected $languageSkin = NULL ]
Property [ protected $languageDefault = NULL ]
Property [ protected $actionParams = [] ]
Property [ protected $apiKeyRoutes = ['api_signin', 'refreshToken'] ]
Property [ protected $kintTextMode = false ]
Property [ protected $relatedModels = NULL ]
Property [ protected $relatedRows = NULL ]
Property [ protected $relatedOptions = NULL ]
Property [ protected $eagerLoad = NULL ]
Property [ protected $mainMenu = NULL ]
Property [ protected $defaultFields = ['reorder' => ['template' => 'reorder', 'width' => '10px'], 'select' => ['template' => 'select', 'width' => '10px'], 'actions' => ['template' => 'actions', 'width' => '100px'], 'id' => ['template' => 'row-id', 'width' => '250px'], 'created_at' => ['template' => 'datetime', 'width' => '150px'], 'updated_at' => ['template' => 'datetime', 'width' => '150px'], 'deleted_at' => ['template' => 'deleted_at', 'action' => ['trashed']]] ]
Property [ protected $fields = [] ]
Property [ protected $hiddenFields = [] ]
Property [ public $indexActions = ['edit', 'trash'] ]
Property [ public $trashedActions = ['recovery', 'delete'] ]
Property [ protected $dataTable = NULL ]
Property [ public $selectFields = NULL ]
Property [ protected $blockedActions = NULL ]
Property [ protected $addUser = NULL ]
Property [ protected array $mediaRoutes = ['api_media_add', 'api_media_update', 'api_media_remove'] ]
Property [ protected array $customMediaRoutes ]
}
- Methods [124] {
Method [ <user> public method error404Action ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 44 - 59
- Parameters [1] {
Parameter #0 [ <optional> $params = NULL ]
}
}
Method [ <user> public method error403Action ] {
@@ /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/ErrorsController.php 61 - 72
- Parameters [1] {
Parameter #0 [ <optional> $params = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setup ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 81 - 101
- Parameters [1] {
Parameter #0 [ <optional> ?Infinyti\Http\ServerRequest $request = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method debugbarCollector ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 103 - 144
}
/**
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getPhrase ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 149 - 152
}
/**
* @param mixed $phrase
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setPhrase ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 159 - 164
- Parameters [1] {
Parameter #0 [ <required> $phrase ]
}
}
/**
* @return object
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCore ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 169 - 172
}
/**
* Establece la instancia de la capa de lógica de negocio del componente,
* se busca primero en el espacio de trabajo actual y si no existe
* se busca en el espacio de nombre general del componente. Si no existe
* ninguna de las dos, se instancia el core base.
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCore ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 182 - 208
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLayout ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 210 - 224
}
/**
* Inicia la salida de la acción solicitada, verifica la existencia
* de notificaciones, resultados negativos del proceso de validación,
* resultados del proceso de carga de ficheros, etc.
*
* @return array datos obtenidos por cookies o notificaciones
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method init ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 233 - 254
- Parameters [1] {
Parameter #0 [ <optional> $options = NULL ]
}
}
/**
* Inicia la ejecución de la acción solicitada procesando los datos antes de
* permitir el trabajo con base de datos.
*
* Procesa los ficheros recibidos
* Valida los datos enviados desde formularios
* Agrega el valor slug (cadena para url)
* Agrega el ordenamiento del registro
* Agrega parámetros adicionales de existir.
*
* @return array datos obtenidos por cookies o notificaciones
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method exec ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 268 - 327
}
/**
* Establece el registro del usuario y el role del usuario que inicio sesión
* en el array data
* @param array &$data Datos que serán enviados a la vista
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setUserAndRoleInData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 334 - 343
- Parameters [1] {
Parameter #0 [ <required> &$data ]
}
}
/**
* Configura y construye el formulario que sera enviado a la vista
* @param array &$data puede contener los datos que retornara el formulario
* @return array altera la variable data recibida por referencia
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 358 - 369
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <optional> $schemaName = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getExternalForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 371 - 394
- Parameters [2] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $externalSchema ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method validateForm ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 402 - 417
- Parameters [1] {
Parameter #0 [ <required> $post ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkStartSession ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 419 - 424
}
/**
* Obtiene el template del email a enviar desde un fichero
*
* @param string $name nombre del archivo del template
* @param array $data datos que se cargaran dinamicamente en el template
*
* @return strin html del template cargado
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEmailTemplate ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 440 - 480
- Parameters [2] {
Parameter #0 [ <required> $file ]
Parameter #1 [ <required> $data ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method urlCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 482 - 489
- Parameters [2] {
Parameter #0 [ <required> $phrase ]
Parameter #1 [ <optional> $id = '' ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 491 - 499
- Parameters [3] {
Parameter #0 [ <required> $subCodeA ]
Parameter #1 [ <required> $phrase ]
Parameter #2 [ <optional> $id = '' ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method process ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 501 - 510
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method coreExec ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/BaseController.php 512 - 517
- Parameters [2] {
Parameter #0 [ <required> string $method ]
Parameter #1 [ <required> array $params ]
}
}
/**
* Procesa los ficheros cargados
*
* @return bool Retorna true si encuentra un error
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method files ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 40 - 73
- Parameters [1] {
Parameter #0 [ <optional> $value = '' ]
}
}
/**
* Verifica si hay archivos en $_FILES que no tengan error 4
*
* @return bool Retorna true si existen archivos válidos
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method checkFiles ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 228 - 255
- Parameters [1] {
Parameter #0 [ <optional> $files = NULL ]
}
}
/**
* Marca los archivos como subidos y actualiza los nombres en el array de post
*/
Method [ <user, inherits Infinyti\Base\Controllers\FilesController> public method setFilesUploaded ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/FilesController.php 260 - 272
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method setView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 49 - 67
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method getView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 69 - 72
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method render ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 74 - 109
- Parameters [4] {
Parameter #0 [ <required> $view ]
Parameter #1 [ <optional> $vars = NULL ]
Parameter #2 [ <optional> $layout = NULL ]
Parameter #3 [ <optional> $response = true ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method processRender ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 111 - 130
- Parameters [4] {
Parameter #0 [ <required> $view ]
Parameter #1 [ <optional> $vars = NULL ]
Parameter #2 [ <optional> $layout = NULL ]
Parameter #3 [ <optional> $response = true ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method resolveView ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 132 - 143
- Parameters [1] {
Parameter #0 [ <required> $view ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method checkViewData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 145 - 163
- Parameters [1] {
Parameter #0 [ <required> $args ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method initVars ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 167 - 183
- Parameters [1] {
Parameter #0 [ <required> $vars ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\ViewController> public method ifDebug ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/ViewController.php 185 - 190
- Parameters [1] {
Parameter #0 [ <required> &$vars ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method resourcesProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 17 - 20
}
/**
* Retrieve Instance of the executed application
*
* @return App
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getApplication ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 27 - 30
}
/**
* Sets Instance of the executed application
*
* @param Object $application
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setApplication ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 39 - 44
- Parameters [1] {
Parameter #0 [ <required> App $application ]
}
}
/**
* Retrievea Request made to the server
* @return ServerRequest
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRequest ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 50 - 53
}
/**
* Sets Request made to the server
*
* @param Object $request
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRequest ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Resources.php 62 - 67
- Parameters [1] {
Parameter #0 [ <required> ?Infinyti\Http\ServerRequest $request ]
}
}
/**
* Initialize the route processing necessary to execute the request
*
* @return Controller Instance of the requested entity's controller
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method routeProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 60 - 71
}
/**
* Retrieve the current route
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCurrentRoute ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 78 - 81
}
/**
* Set the current route
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCurrentRoute ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 88 - 93
}
/**
* Retrieve environment in which the application works
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEnv ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 100 - 103
}
/**
* Sets environment in which the application works
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEnv ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 110 - 115
}
/**
* Retrieve name of the requested entity, table or resource
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEntity ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 122 - 125
}
/**
* Sets name of the requested entity, table or resource
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEntity ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 132 - 137
}
/**
* Retrieve name of the action that is executed in the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getAction ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 144 - 147
}
/**
* Sets name of the action that is executed in the request
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setAction ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 154 - 159
}
/**
* Retrieve all available routes for the current entity
*
* @return Infinyti\Library\Base\Warps\Collections\Collection
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 166 - 169
}
/**
* Sets all available routes for the current entity
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method setRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 176 - 204
}
/**
* Sets the route that is redirected when an action is canceled
*
* @param ServerRequest $request
* @return Controller Instance of the requested entity's controller
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setReturn ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Routes.php 212 - 231
- Parameters [1] {
Parameter #0 [ <required> ?Infinyti\Http\ServerRequest $request ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method structuralProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 118 - 146
}
/**
* Retrieve reflection class
*
* @return Object
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getReflection ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 153 - 156
}
/**
* Sets reflection class
*
* @param Object $reflection
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setReflection ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 165 - 170
- Parameters [1] {
Parameter #0 [ <required> $reflection ]
}
}
/**
* Restrieve prefix of the namespace of the current component
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getPrefix ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 177 - 180
}
/**
* Sets prefix of the namespace of the current component
*
* @param string $prefix
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setPrefix ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 189 - 194
- Parameters [1] {
Parameter #0 [ <required> $prefix ]
}
}
/**
* Retrieve Path of the current component
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCompPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 200 - 203
}
/**
* Sets Path of the current component
* @param string $compPath
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCompPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 211 - 216
- Parameters [1] {
Parameter #0 [ <required> $compPath ]
}
}
/**
* Retrieve Name of controller requested
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getController ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 222 - 225
}
/**
* Sets Name of controller requested
*
* @param string $controller
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setController ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 234 - 240
- Parameters [1] {
Parameter #0 [ <required> $controller ]
}
}
/**
* Retrieve Name of the scheme for the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getSchema ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 247 - 250
}
/**
* Sets Name of the scheme for the request *
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSchema ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 256 - 287
- Parameters [1] {
Parameter #0 [ <optional> $schema = NULL ]
}
}
/**
* Retrieve instance of the scheme for the request
*
* @return [type]
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getSchemaName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 294 - 297
}
/**
* Sets instance of the scheme for the request
*
* @param String $schemaName
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSchemaName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 306 - 328
- Parameters [1] {
Parameter #0 [ <required> $schemaName ]
}
}
/**
* Retrieve Instance of the model for the request
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getModel ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 335 - 338
}
/**
* Sets Instance of the model for the request
*
* @param Object $model
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setModel ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 347 - 354
- Parameters [1] {
Parameter #0 [ <required> $model ]
}
}
/**
* Gets Name of the model for the request
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getModelName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 361 - 364
}
/**
* Sets Name of the model for the request
* @param string $modelName
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setModelName ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 371 - 381
- Parameters [1] {
Parameter #0 [ <required> $modelName ]
}
}
/**
* Check if exists model files
*
* @param string $modelName
*
* @return string Model namespace
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkExistModelFile ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 390 - 411
- Parameters [1] {
Parameter #0 [ <required> $modelName ]
}
}
/**
* Retrieve Email templates path
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEmailPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 418 - 421
}
/**
* Sets Email templates path
*
* @param string $emailPath
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEmailPath ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 430 - 435
- Parameters [1] {
Parameter #0 [ <required> $emailPath ]
}
}
/**
* Retrieve Language path
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 442 - 445
}
/**
* Sets Language path
*
* @param string $language
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 454 - 460
- Parameters [1] {
Parameter #0 [ <required> $code ]
}
}
/**
* Retrieve language code
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getLangCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 467 - 470
}
/**
* Sets language code
*
* @param string $langCode
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setLangCode ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 479 - 484
- Parameters [1] {
Parameter #0 [ <required> string $langCode ]
}
}
/**
* Load language files
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method loadLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 491 - 500
- Parameters [1] {
Parameter #0 [ <optional> $action = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method componentLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 502 - 507
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method skinLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 509 - 518
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method defaultLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 520 - 527
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method componentSkinLanguage ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 529 - 549
}
/**
* Retrieve configuration of the application that contains the requested component.
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getApp ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 556 - 559
}
/**
* Sets configuration of the application that contains the requested component.
*
* @param mixed $app
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setApp ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 568 - 581
- Parameters [1] {
Parameter #0 [ <optional> $app = NULL ]
}
}
/**
* Retrieve configuration of the requested component
*
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getComponent ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 588 - 591
}
/**
* Sets Configuration of the requested component
*
* @param mixed $component
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setComponent ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 600 - 615
- Parameters [1] {
Parameter #0 [ <optional> $entity = NULL ]
}
}
/**
* Retrieve the namespace of the currently requested component
*
* @return string
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getComponentNamespace ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 622 - 625
}
/**
* Sets the namespace of the currently requested component
*
* @param string $componentNamespace
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setComponentNamespace ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 634 - 639
- Parameters [1] {
Parameter #0 [ <optional> $componentNamespace = NULL ]
}
}
/**
* Normaliza las varaibles de la ruta y los parametros recibidos
*
* @param array $data
* @param array $params
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method paramsResolve ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 648 - 698
- Parameters [2] {
Parameter #0 [ <required> array $data ]
Parameter #1 [ <required> array $params ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method hasActionParams ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 700 - 709
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getActionParams ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 711 - 748
- Parameters [1] {
Parameter #0 [ <required> array $params ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setMediaStructure ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Structural.php 770 - 779
}
/**
* Inicializa los parámetros para responder a una petición API
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiInit ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 26 - 74
- Parameters [1] {
Parameter #0 [ <optional> ...$args ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiReturn ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 77 - 104
- Parameters [4] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $code = 200 ]
Parameter #2 [ <optional> $headers = ['Content-Type' => 'application/json; charset=UTF-8'] ]
Parameter #3 [ <optional> $jsonFlags = Infinyti\Base\Controllers\Middlewares\JSON_UNESCAPED_UNICODE ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method apiKey ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 106 - 124
}
/**
* Función para agregar las cabeceras de autorización de los CORS
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addCors ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 131 - 155
}
/**
* Función para recoger el json que llega en una petición post para añadirla al metodo post
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addJsonToPost ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 162 - 183
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method checkIdToken ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 185 - 211
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method initPerMethod ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ApiStructural.php 213 - 263
- Parameters [1] {
Parameter #0 [ <optional> array $data = [] ]
}
- Return [ Laminas\Diactoros\Response\JsonResponse|array ]
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getRelatedData ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 21 - 37
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <optional> ?array $elements = NULL ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRelatedModels ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 39 - 66
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setRelatedElements ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 68 - 134
- Parameters [2] {
Parameter #0 [ <required> &$data ]
Parameter #1 [ <required> $element ]
}
}
/**
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getEagerLoad ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 139 - 142
}
/**
* @param mixed $eagerLoad
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setEagerLoad ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Relationship.php 149 - 154
- Parameters [1] {
Parameter #0 [ <required> $eagerLoad ]
}
}
/**
* Inicia la ejecución de los proceso necesarios para mostrar la interfaz de
* administración.
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method adminProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 45 - 60
}
/**
* Obtiene el menú de la interfaz de administración generado a partir de los
* ficheros de manifest en las aplicaciones y los ficheros config en los
* componentes
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setAdminMenu ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 69 - 76
}
/**
* Obtiene los títulos usados en la interfaz de administracion
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method setTitle ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 83 - 99
- Parameters [1] {
Parameter #0 [ <optional> $action = NULL ]
}
}
/**
* Fusiona los campos por defecto con los campos definidos en el controlador
* y los ordena según el orden definido en el controlador en la propiedad
* protected $fields
*
* @return self
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 108 - 166
- Parameters [0] {
}
- Return [ self ]
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 168 - 171
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setSelectFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 173 - 193
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setDataTable ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 195 - 204
}
/**
* Retorna los campos que se ocultan en la tabla de datos
* @return mixed
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getHiddenFields ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Admin.php 210 - 214
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method mvvmProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ManifestMvvm.php 31 - 34
}
/**
* Create manifest file to work with MVVM
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setManifestMVVM ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/ManifestMvvm.php 38 - 56
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method operationsProcessor ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 11 - 14
}
/**
* Redireccionar a la url indica, si hay una url de retorno, la redirección
* se realizará a dicha url
*
*
* @param string $url
*
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method redirect ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 27 - 60
- Parameters [1] {
Parameter #0 [ <optional> $url = NULL ]
}
}
/**
* Funcion para redireccionar a la url de retorno
*
* @param boolean $getParams indica si se deben enviar los parametros de la url
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method back ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 68 - 77
- Parameters [1] {
Parameter #0 [ <optional> bool $getParams = false ]
}
}
/**
* Redirecciona a una ruta del mismo componente que recibe como parametro el
* id de un registro Ej. edit/$uuid
*
* @param string $actionName nombre de la ruta a la que se redirecciona
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method redirectFromGet ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 85 - 96
- Parameters [1] {
Parameter #0 [ <required> $actionName ]
}
}
/**
* Search methods that contain in their name the string received as a parameter
*
* @param string $like
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> protected method searchMethods ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 105 - 118
- Parameters [1] {
Parameter #0 [ <required> string $like ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method prepareRow ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 120 - 143
- Parameters [1] {
Parameter #0 [ <required> &$value ]
}
}
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method order ] {
@@ /var/www/ideasfarm/public_html/library/base/Controllers/Middlewares/Operations.php 145 - 169
- Parameters [1] {
Parameter #0 [ <optional> $model = NULL ]
}
}
/**
* Verifica si el modelo tiene un modelo de medios, y la ruta actual esta entre las
* rutas de medios
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method changeToMediaStructure ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 24 - 27
- Parameters [0] {
}
- Return [ bool ]
}
/**
* Verifica si el controlador tiene rutas de medios o si las rutas de medios
* personalizadas fueron agregadas
*
* @return boolean
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method hasMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 35 - 38
- Parameters [0] {
}
- Return [ bool ]
}
/**
* Importa las rutas de medios de un controlador padre o objeto
* Si se proporciona un objeto padre, fusiona sus rutas de medios con las
* rutas de medios actuales,asegurando que no haya rutas duplicadas.
*
* @param Object|null $parentObject El objeto padre que contiene las rutas de medios
*
* @return self Retorna el objeto actual con las rutas de medios fusionadas
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method importMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 49 - 61
- Parameters [1] {
Parameter #0 [ <required> ?object $parentObject ]
}
- Return [ self ]
}
/**
* Obtiene las rutas de medios
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 75 - 78
- Parameters [0] {
}
- Return [ array ]
}
/**
* Establece las rutas de medios
*
* @param array $customMediaRoutes Arreglo con los nombres de las rutas agregar
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method setCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 86 - 91
- Parameters [1] {
Parameter #0 [ <required> array $customMediaRoutes ]
}
- Return [ self ]
}
/**
* Obtiene las rutas personalizadas
*
* @return array
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method getCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 98 - 101
- Parameters [0] {
}
- Return [ array ]
}
/**
* Agrega una o mas rutas personalizadas al arreglo de rutas de medios
*
* @param array|string $customMediaRoutes
* @return void
*/
Method [ <user, inherits Infinyti\Base\Controllers\BaseController> public method addCustomMediaRoutes ] {
@@ /var/www/ideasfarm/public_html/library/base/Traits/MediaTrait.php 109 - 118
- Parameters [1] {
Parameter #0 [ <required> array|string $customMediaRoutes ]
}
- Return [ self ]
}
}
}
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front
drwxr-xr-x 33 33 4096 Aug 24 2024 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/language/es-EC
/var/www/ideasfarm/public_html/apps/start-if/components/errors/Front/language/es-EC/
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"}
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"}
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
{"register":{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"},"path":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components"}
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"}
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"}
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
{"register":{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"},"path":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components"}
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if
drwxr-xr-x 33 33 4096 Dec 19 2025 /var/www/ideasfarm/public_html/apps/start-if/components
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if
{"name":"Start","unique":"start","description":"","version":"0.1","namespace":"Start\\","components":{"register":{"atoms":"atoms\/","errors":"errors\/","home":"home\/","settings":"settings\/"},"path":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components"},"path":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if"}
drwxr-xr-x 33 33 4096 Feb 15 2024 /var/www/ideasfarm/public_html/apps/start-if/components/errors
drwxr-xr-x 33 33 4096 Jul 26 13:00 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Admin
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front
Defined in <ROOT>/library/base/warps/collections/Collection.php:12
/** * Create a new collection. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null $items */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:42
/** * Get all of the items in the collection. * * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:65
/** * Get a lazy collection for the items in this collection. * * @return \Illuminate\Support\LazyCollection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:75
/** * Get the median of a given key. * * @param string|array<array-key, string>|null $key * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:86
/** * Get the mode of a given key. * * @param string|array<array-key, string>|null $key * @return array<int, float|int>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:115
/** * Collapse the collection of items into a single array. * * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:140
/** * Collapse the collection of items into a single array while preserving its keys. * * @return static<mixed, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:150
/** * Determine if an item exists in the collection. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:183
/** * Determine if an item exists, using strict comparison. * * @param (callable(TValue): bool)|TValue|array-key $key * @param TValue|null $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:203
/** * Determine if an item is not contained in the collection. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:224
/** * Determine if an item is not contained in the enumerable, using strict comparison. * * @param mixed $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:237
/** * Cross join with the given lists, returning all possible permutations. * * @template TCrossJoinKey * @template TCrossJoinValue * * @param \Illuminate\Contracts\Support\Arrayable<TCrossJoinKey, TCrossJoinValue>|iterable<TCrossJoinKey, TCrossJoinValue> ...$lists * @return static<int, array<int, TValue|TCrossJoinValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:251
/** * Get the items in the collection that are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:264
/** * Get the items in the collection that are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:276
/** * Get the items in the collection whose keys and values are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:287
/** * Get the items in the collection whose keys and values are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:299
/** * Get the items in the collection whose keys are not present in the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:310
/** * Get the items in the collection whose keys are not present in the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:322
/** * Retrieve duplicate items from the collection. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:336
/** * Retrieve duplicate items from the collection using strict comparison. * * @template TMapValue * * @param (callable(TValue): TMapValue)|string|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:365
/** * Get the comparison function to detect duplicates. * * @param bool $strict * @return callable(TValue, TValue): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:376
/** * Get all items except for those with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:391
/** * Run a filter over each of the items. * * @param (callable(TValue, TKey): bool)|null $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:412
/** * Get the first item from the collection passing the given truth test. * * @template TFirstDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TFirstDefault|(\Closure(): TFirstDefault) $default * @return TValue|TFirstDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:430
/** * Get a flattened array of the items in the collection. * * @param int $depth * @return static<int, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:441
/** * Flip the items in the collection. * * @return static<TValue, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:451
/** * Remove an item from the collection by key. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TKey>|TKey $keys * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:462
/** * Get an item from the collection by key. * * @template TGetDefault * * @param TKey|null $key * @param TGetDefault|(\Closure(): TGetDefault) $default * @return TValue|TGetDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:480
/** * Get an item from the collection by key or add it to collection if it does not exist. * * @template TGetOrPutValue * * @param mixed $key * @param TGetOrPutValue|(\Closure(): TGetOrPutValue) $value * @return TValue|TGetOrPutValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:500
/** * Group an associative array by a field or using a callback. * * @template TGroupKey of array-key|\UnitEnum|\Stringable * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : (TGroupKey is \UnitEnum ? array-key : (TGroupKey is \Stringable ? string : TGroupKey))), * static<($preserveKeys is true ? TKey : int), ($groupBy is array ? mixed : TValue)> * > */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:525
/** * Key an associative array by a field or using a callback. * * @template TNewKey of array-key|\UnitEnum * * @param (callable(TValue, TKey): TNewKey)|array|string $keyBy * @return static<($keyBy is (array|string) ? array-key : (TNewKey is \UnitEnum ? array-key : TNewKey)), TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:577
/** * Determine if an item exists in the collection by key. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:606
/** * Determine if any of the keys exist in the collection. * * @param TKey|array<array-key, TKey> $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:619
/** * Concatenate values of a given key as a string. * * @param (callable(TValue, TKey): mixed)|string|null $value * @param string|null $glue * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:637
/** * Intersect the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:658
/** * Intersect the collection with the given items, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:670
/** * Intersect the collection with the given items with additional index check. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:681
/** * Intersect the collection with the given items with additional index check, using the callback. * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items * @param callable(TValue, TValue): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:693
/** * Intersect the collection with the given items by key. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, mixed>|iterable<TKey, mixed> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:704
/** * Determine if the collection is empty or not. * * @phpstan-assert-if-true null $this->first() * @phpstan-assert-if-true null $this->last() * * @phpstan-assert-if-false TValue $this->first() * @phpstan-assert-if-false TValue $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:722
/** * Determine if the collection contains exactly one item. If a callback is provided, determine if exactly one item matches the condition. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.49.0 Use the `hasSole()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:735
/** * Determine if the collection contains multiple items. * * @param (callable(TValue, TKey): bool)|null $callback * @return bool * * @deprecated 12.50.0 Use the `hasMany()` method instead. */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:748
/** * Join all items from the collection using a string. The final items can use a separate glue string. * * @param string $glue * @param string $finalGlue * @return TValue|string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:760
/** * Get the keys of the collection items. * * @return static<int, TKey> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:788
/** * Get the last item from the collection. * * @template TLastDefault * * @param (callable(TValue, TKey): bool)|null $callback * @param TLastDefault|(\Closure(): TLastDefault) $default * @return TValue|TLastDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:802
/** * Get the values of a given key. * * @param \Closure|string|int|array<array-key, string>|null $value * @param \Closure|string|null $key * @return static<array-key, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:814
/** * Run a map over each of the items. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:827
/** * Run a dictionary map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToDictionaryKey of array-key * @template TMapToDictionaryValue * * @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback * @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:843
/** * Run an associative map over each of the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapWithKeysKey of array-key * @template TMapWithKeysValue * * @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback * @return static<TMapWithKeysKey, TMapWithKeysValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:875
/** * Merge the collection with the given items. * * @template TMergeValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeValue>|iterable<TKey, TMergeValue> $items * @return static<TKey, TValue|TMergeValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:888
/** * Recursively merge the collection with the given items. * * @template TMergeRecursiveValue * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TMergeRecursiveValue>|iterable<TKey, TMergeRecursiveValue> $items * @return static<TKey, TValue|TMergeRecursiveValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:901
/** * Multiply the items in the collection by the multiplier. * * @param int $multiplier * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:912
/** * Create a collection by using this collection for keys and another for its values. * * @template TCombineValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values * @return static<TValue, TCombineValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:931
/** * Union the collection with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:942
/** * Create a new collection consisting of every n-th element. * * @param int $step * @param int $offset * @return ($step is positive-int ? static : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:956
/** * Get the items with the specified keys. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:983
/** * Select specific values from the items within the collection. * * @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string|null $keys * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1004
/** * Get and remove the last N items from the collection. * * @param int $count * @return ($count is 1 ? TValue|null : static<int, TValue>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1025
/** * Push an item onto the beginning of the collection. * * @param TValue $value * @param TKey $key * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1057
/** * Push one or more items onto the end of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1070
/** * Prepend one or more items to the beginning of the collection. * * @param TValue ...$values * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1085
/** * Push all of the given items onto the collection. * * @template TConcatKey of array-key * @template TConcatValue * * @param iterable<TConcatKey, TConcatValue> $source * @return static<TKey|TConcatKey, TValue|TConcatValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1101
/** * Get and remove an item from the collection. * * @template TPullDefault * * @param TKey $key * @param TPullDefault|(\Closure(): TPullDefault) $default * @return TValue|TPullDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1121
/** * Put an item in the collection by key. * * @param TKey $key * @param TValue $value * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1133
/** * Get one or a specified number of items randomly from the collection. * * @param (callable(self<TKey, TValue>): int)|int|null $number * @param bool $preserveKeys * @return ($number is null ? TValue : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1149
/** * Replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1168
/** * Recursively replace the collection items with the given items. * * @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1179
/** * Reverse items order. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1189
/** * Search the collection for a given value and return the corresponding key if successful. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TKey|false */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1201
/** * Get the item before the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1217
/** * Get the item after the given item. * * @param TValue|(callable(TValue,TKey): bool) $value * @param bool $strict * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1241
/** * Get and remove the first N items from the collection. * * @param int<0, max> $count * @return ($count is 1 ? TValue|null : static<int, TValue>) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1266
/** * Shuffle the items in the collection. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1300
/** * Create chunks representing a "sliding window" view of the items in the collection. * * @param positive-int $size * @param positive-int $step * @return static<int, static> * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1314
/**
* Skip the first {$count} items.
*
* @param int $count
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1333/** * Skip items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1344
/** * Skip items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1355
/** * Slice the underlying collection array. * * @param int $offset * @param int|null $length * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1367
/** * Split a collection into a certain number of groups. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1380
/** * Split a collection into a certain number of groups, and fill the first groups completely. * * @param int $numberOfGroups * @return ($numberOfGroups is positive-int ? static<int, static> : never) * * @throws \InvalidArgumentException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1423
/** * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException * @throws \Illuminate\Support\MultipleItemsFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1443
/** * Determine if the collection contains a single item, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1472
/** * Get the first item in the collection but throw an exception if no matching items exist. * * @param (callable(TValue, TKey): bool)|string $key * @param mixed $operator * @param mixed $value * @return TValue * * @throws \Illuminate\Support\ItemNotFoundException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1494
/** * Chunk the collection into chunks of the given size. * * @param int $size * @param bool $preserveKeys * @return ($preserveKeys is true ? static<int, static> : static<int, static<int, TValue>>) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1518
/** * Chunk the collection into chunks with a callback. * * @param callable(TValue, TKey, static<TKey, TValue>): bool $callback * @return static<int, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1539
/** * Sort through each item with a callback. * * @param (callable(TValue, TValue): int)|null|int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1552
/** * Sort items in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1569
/**
* Sort the collection using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @param bool $descending
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1586/**
* Sort the collection using multiple comparisons.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}> $comparisons
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1623/**
* Sort the collection in descending order using the given callback.
*
* @param array<array-key, (callable(TValue, TValue): mixed)|(callable(TValue, TKey): mixed)|string|array{string, string}>|(callable(TValue, TKey): mixed)|string $callback
* @param int $options
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1680/** * Sort the collection keys. * * @param int $options * @param bool $descending * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1702
/** * Sort the collection keys in descending order. * * @param int $options * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1717
/** * Sort the collection keys using a callback. * * @param callable(TKey, TKey): int $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1728
/** * Splice a portion of the underlying collection array. * * @param int $offset * @param int|null $length * @param array<array-key, TValue> $replacement * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1745
/**
* Take the first or last {$limit} items.
*
* @param int $limit
* @return static
*/
Inherited from Illuminate\Support\Collection
Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1760/** * Take items in the collection until the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1775
/** * Take items in the collection while the given condition is met. * * @param TValue|callable(TValue,TKey): bool $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1786
/** * Transform each item in the collection using a callback. * * @template TMapValue * * @param callable(TValue, TKey): TMapValue $callback * @return $this * * @phpstan-this-out static<TKey, TMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1801
/** * Flatten a multi-dimensional associative array with dots. * * @param int $depth * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1814
/** * Convert a flatten "dot" notation array into an expanded array. * * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1824
/** * Return only unique items from the collection array. * * @param (callable(TValue, TKey): mixed)|string|null $key * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1836
/** * Reset the keys on the underlying array. * * @return static<int, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1860
/** * Zip the collection together with one or more arrays. * * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]); * => [[1, 4], [2, 5], [3, 6]] * * @template TZipValue * * @param \Illuminate\Contracts\Support\Arrayable<array-key, TZipValue>|iterable<array-key, TZipValue> ...$items * @return static<int, static<int, TValue|TZipValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1876
/** * Pad collection to the specified length with a value. * * @template TPadValue * * @param int $size * @param TPadValue $value * @return static<int, TValue|TPadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1894
/** * Get an iterator for the items. * * @return \ArrayIterator<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1904
/** * Count the number of items in the collection. * * @return int<0, max> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1914
/** * Count the number of items in the collection by a field or using a callback. * * @param (callable(TValue, TKey): (array-key|\UnitEnum))|string|null $countBy * @return static<array-key, int> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1925
/** * Add an item to the collection. * * @param TValue $item * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1936
/** * Get a base Support collection instance from this collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1948
/** * Determine if an item exists at an offset. * * @param TKey $key * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1959
/** * Get an item at a given offset. * * @param TKey $key * @return TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1970
/** * Set the item at a given offset. * * @param TKey|null $key * @param TValue $value * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1982
/** * Unset the item at a given offset. * * @param TKey $key * @return void */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Collection.php:1997
/** * Get the average value of a given key. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:202
/** * Alias for the "avg" method. * * @param (callable(TValue): float|int)|string|null $callback * @return float|int|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:224
/** * Alias for the "contains" method. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:237
/** * Dump the given arguments and terminate execution. * * @param mixed ...$args * @return never */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:248
/** * Dump the items. * * @param mixed ...$args * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:259
/** * Execute a callback over each item. * * @param callable(TValue, TKey): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:272
/** * Execute a callback over each nested chunk of items. * * @param callable(...mixed): mixed $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:289
/** * Determine if all items pass the given truth test. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:306
/** * Get the first item by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return TValue|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:331
/** * Determine if the collection contains multiple items, optionally matching the given criteria. * * @param (callable(TValue, TKey): bool)|string|null $key * @param mixed $operator * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:344
/** * Get a single key's value from the first matching item in the collection. * * @template TValueDefault * * @param string $key * @param TValueDefault|(\Closure(): TValueDefault) $default * @return TValue|TValueDefault */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:366
/** * Ensure that every item in the collection is of the expected type. * * @template TEnsureOfType * * @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type * @return static<TKey, TEnsureOfType> * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:385
/** * Determine if the collection is not empty. * * @phpstan-assert-if-true TValue $this->first() * @phpstan-assert-if-true TValue $this->last() * * @phpstan-assert-if-false null $this->first() * @phpstan-assert-if-false null $this->last() * * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:415
/** * Run a map over each nested chunk of items. * * @template TMapSpreadValue * * @param callable(mixed...): TMapSpreadValue $callback * @return static<TKey, TMapSpreadValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:428
/** * Run a grouping map over the items. * * The callback should return an associative array with a single key/value pair. * * @template TMapToGroupsKey of array-key * @template TMapToGroupsValue * * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback * @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:448
/** * Map a collection and flatten the result by a single level. * * @template TFlatMapKey of array-key * @template TFlatMapValue * * @param callable(TValue, TKey): (\Illuminate\Support\Collection<TFlatMapKey, TFlatMapValue>|array<TFlatMapKey, TFlatMapValue>) $callback * @return static<TFlatMapKey, TFlatMapValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:464
/** * Map the values into a new class. * * @template TMapIntoValue * * @param class-string<TMapIntoValue> $class * @return static<TKey, TMapIntoValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:477
/** * Get the min value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:492
/** * Get the max value of a given key. * * @param (callable(TValue):mixed)|string|null $callback * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:507
/** * "Paginate" the collection by slicing it into a smaller collection. * * @param int $page * @param int $perPage * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:525
/** * Partition the collection into two arrays using the given callback or key. * * @param (callable(TValue, TKey): bool)|TValue|string $key * @param mixed $operator * @param mixed $value * @return static<int<0, 1>, static<TKey, TValue>> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:540
/** * Calculate the percentage of items that pass a given truth test. * * @param (callable(TValue, TKey): bool) $callback * @param int $precision * @return float|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:558
/** * Get the sum of the given values. * * @template TReturnType * * @param (callable(TValue): TReturnType)|string|null $callback * @return ($callback is callable ? TReturnType : mixed) */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:578
/** * Apply the callback if the collection is empty. * * @template TWhenEmptyReturnType * * @param (callable($this): TWhenEmptyReturnType) $callback * @param (callable($this): TWhenEmptyReturnType)|null $default * @return $this|TWhenEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:596
/** * Apply the callback if the collection is not empty. * * @template TWhenNotEmptyReturnType * * @param callable($this): TWhenNotEmptyReturnType $callback * @param (callable($this): TWhenNotEmptyReturnType)|null $default * @return $this|TWhenNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:610
/** * Apply the callback unless the collection is empty. * * @template TUnlessEmptyReturnType * * @param callable($this): TUnlessEmptyReturnType $callback * @param (callable($this): TUnlessEmptyReturnType)|null $default * @return $this|TUnlessEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:624
/** * Apply the callback unless the collection is not empty. * * @template TUnlessNotEmptyReturnType * * @param callable($this): TUnlessNotEmptyReturnType $callback * @param (callable($this): TUnlessNotEmptyReturnType)|null $default * @return $this|TUnlessNotEmptyReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:638
/** * Filter items by the given key value pair. * * @param callable|string $key * @param mixed $operator * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:651
/** * Filter items where the value for the given key is null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:662
/** * Filter items where the value for the given key is not null. * * @param string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:673
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param mixed $value * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:685
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:698
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:712
/** * Filter items such that the value of the given key is between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:724
/** * Filter items such that the value of the given key is not between the given values. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:736
/** * Filter items by the given key value pair. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @param bool $strict * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:751
/** * Filter items by the given key value pair using strict comparison. * * @param string $key * @param \Illuminate\Contracts\Support\Arrayable|iterable $values * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:765
/** * Filter the items, removing any items that don't match the given type(s). * * @template TWhereInstanceOf * * @param class-string<TWhereInstanceOf>|array<array-key, class-string<TWhereInstanceOf>> $type * @return static<TKey, TWhereInstanceOf> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:778
/** * Pass the collection to the given callback and return the result. * * @template TPipeReturnType * * @param callable($this): TPipeReturnType $callback * @return TPipeReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:803
/** * Pass the collection into a new class. * * @template TPipeIntoValue * * @param class-string<TPipeIntoValue> $class * @return TPipeIntoValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:816
/** * Pass the collection through a series of callable pipes and return the result. * * @param array<callable> $callbacks * @return mixed */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:827
/** * Reduce the collection to a single value. * * @template TReduceInitial * @template TReduceReturnType * * @param callable(TReduceInitial|TReduceReturnType, TValue, TKey): TReduceReturnType $callback * @param TReduceInitial $initial * @return TReduceReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:845
/** * Reduce the collection to multiple aggregate values. * * @param callable $callback * @param mixed ...$initial * @return array * * @throws \UnexpectedValueException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:865
/** * Reduce an associative collection to a single value. * * @template TReduceWithKeysInitial * @template TReduceWithKeysReturnType * * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue, TKey): TReduceWithKeysReturnType $callback * @param TReduceWithKeysInitial $initial * @return TReduceWithKeysReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:893
/** * Create a collection of all elements that do not pass a given truth test. * * @param (callable(TValue, TKey): bool)|bool|TValue $callback * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:904
/** * Pass the collection to the given callback and then return it. * * @param callable($this): mixed $callback * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:921
/** * Return only unique items from the collection array using strict comparison. * * @param (callable(TValue, TKey): mixed)|string|null $key * @return static */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:956
/** * Collect the values into a collection. * * @return \Illuminate\Support\Collection<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:966
/** * Get the collection of items as a plain array. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:976
/** * Convert the object into something JSON serializable. * * @return array<TKey, mixed> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:986
/** * Get the collection of items as JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1004
/** * Get the collection of items as pretty print formatted JSON. * * @param int $options * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1015
/** * Get a CachingIterator instance. * * @param int $flags * @return \CachingIterator */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1026
/** * Convert the collection to its string representation. * * @return string */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1036
/** * Indicate that the model's string representation should be escaped when __toString is invoked. * * @param bool $escape * @return $this */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1049
/** * Results array of items from Collection or Arrayable. * * @param mixed $items * @return array<TKey, TValue> */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1090
/** * Get an operator checker callback. * * @param callable|string $key * @param string|null $operator * @param mixed $value * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1105
/** * Determine if the given value is callable, but not a string. * * @param mixed $value * @return bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1162
/** * Get a value retrieving callback. * * @param callable|string|null $value * @return callable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1173
/** * Make a function to check an item's equality. * * @param mixed $value * @return \Closure(mixed): bool */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1188
/** * Make a function using another function, by negating its result. * * @param \Closure $callback * @return \Closure */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1199
/** * Make a function that returns what's passed to it. * * @return \Closure(TValue): TValue */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1209
/** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|TWhenReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:21
/** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|TUnlessReturnType */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/conditionable/Traits/Conditionable.php:53
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:112
/** * Create a new resource collection instance for the given resource. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:22
/** * Guess the resource collection for the items. * * @return \Illuminate\Http\Resources\Json\ResourceCollection * * @throws \Throwable */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:38
/** * Get the resource class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\JsonResource> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:90
/** * Get the resource collection class from the class attribute. * * @param class-string<\Illuminate\Http\Resources\Json\ResourceCollection> $class * @return class-string<*>|null */ Inherited from Illuminate\Support\Collection Defined in <ROOT>/vendor/illuminate/collections/Traits/TransformsToResourceCollection.php:109
/** * Create a collection with the given range. * * @param int $from * @param int $to * @param int $step * @return static<int, int> */ Defined in <ROOT>/vendor/illuminate/collections/Collection.php:55
/** * Create a new collection instance if the value isn't one already. * * @template TMakeKey of array-key * @template TMakeValue * * @param \Illuminate\Contracts\Support\Arrayable<TMakeKey, TMakeValue>|iterable<TMakeKey, TMakeValue>|null $items * @return static<TMakeKey, TMakeValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:119
/** * Wrap the given value in a collection if applicable. * * @template TWrapValue * * @param iterable<array-key, TWrapValue>|TWrapValue $value * @return static<array-key, TWrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:132
/** * Get the underlying items from the given collection if applicable. * * @template TUnwrapKey of array-key * @template TUnwrapValue * * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value * @return array<TUnwrapKey, TUnwrapValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:148
/** * Create a new instance with no items. * * @return static */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:158
/** * Create a new collection by invoking the callback a given amount of times. * * @template TTimesValue * * @param int $number * @param (callable(int): TTimesValue)|null $callback * @return static<int, TTimesValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:172
/** * Create a new collection by decoding a JSON string. * * @param string $json * @param int $depth * @param int $flags * @return static<TKey, TValue> */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:191
/** * Add a method to the list of proxied methods. * * @param string $method * @return void */ Defined in <ROOT>/vendor/illuminate/collections/Traits/EnumeratesValues.php:1062
/** * Register a custom macro. * * @param string $name * @param object|callable $macro * * @param-closure-this static $macro * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:29
/** * Mix another object into the class. * * @param object $mixin * @param bool $replace * @return void * * @throws \ReflectionException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:43
/** * Checks if macro is registered. * * @param string $name * @return bool */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:62
/** * Flush the existing macros. * * @return void */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:72
/** * Dynamically handle calls to the class. * * @param string $method * @param array $parameters * @return mixed * * @throws \BadMethodCallException */ Defined in <ROOT>/vendor/illuminate/macroable/Traits/Macroable.php:86
drwxr-xr-x 33 33 4096 Feb 15 2024 /var/www/ideasfarm/public_html/apps/start-if/components/errors
drwxr-xr-x 33 33 4096 Jul 26 13:00 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Admin
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front
drwxr-xr-x 33 33 4096 Feb 15 2024 /var/www/ideasfarm/public_html/apps/start-if/components/errors
drwxr-xr-x 33 33 4096 Jul 26 13:00 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Admin
drwxr-xr-x 33 33 4096 Jul 15 20:53 /var/www/ideasfarm/public_html/apps/start-if/components/errors/Front
{"name":"Errors","unique":"errors","app":"start","vesrion":"0.1","alias":"Errors","namespace":"Start\\Errors\\","path":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components\/errors","admin":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components\/errors\/Admin","front":"\/var\/www\/ideasfarm\/public_html\/apps\/start-if\/components\/errors\/Front"}
drwxr-xr-x 0 0 4096 Jul 28 11:45 /var/www/ideasfarm/public_html/public/front/ideasfarm-template/languages/es-EC
/var/www/ideasfarm/public_html/public/front/ideasfarm-template/languages/es-EC/
drwxr-xr-x 33 33 4096 Jul 16 14:36 /var/www/ideasfarm/public_html/public/infinyti/languages/es-EC
Defined in <ROOT>/apps/start-if/components/errors/Front/ErrorsController.php:44
Defined in <ROOT>/apps/start-if/components/errors/Front/ErrorsController.php:61
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:81
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:103
/** * @return mixed */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:149
/** * @param mixed $phrase * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:159
/** * @return object */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:169
/** * Establece la instancia de la capa de lógica de negocio del componente, * se busca primero en el espacio de trabajo actual y si no existe * se busca en el espacio de nombre general del componente. Si no existe * ninguna de las dos, se instancia el core base. * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:182
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:210
/** * Inicia la salida de la acción solicitada, verifica la existencia * de notificaciones, resultados negativos del proceso de validación, * resultados del proceso de carga de ficheros, etc. * * @return array datos obtenidos por cookies o notificaciones */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:233
/** * Inicia la ejecución de la acción solicitada procesando los datos antes de * permitir el trabajo con base de datos. * * Procesa los ficheros recibidos * Valida los datos enviados desde formularios * Agrega el valor slug (cadena para url) * Agrega el ordenamiento del registro * Agrega parámetros adicionales de existir. * * @return array datos obtenidos por cookies o notificaciones */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:268
/** * Establece el registro del usuario y el role del usuario que inicio sesión * en el array data * @param array &$data Datos que serán enviados a la vista */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:334
/** * Configura y construye el formulario que sera enviado a la vista * @param array &$data puede contener los datos que retornara el formulario * @return array altera la variable data recibida por referencia */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:358
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:371
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:402
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:419
/** * Obtiene el template del email a enviar desde un fichero * * @param string $name nombre del archivo del template * @param array $data datos que se cargaran dinamicamente en el template * * @return strin html del template cargado */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:440
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:482
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:491
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:501
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/BaseController.php:512
/** * Procesa los ficheros cargados * * @return bool Retorna true si encuentra un error */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:40
/** * Verifica si hay archivos en $_FILES que no tengan error 4 * * @return bool Retorna true si existen archivos válidos */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:228
/** * Marca los archivos como subidos y actualiza los nombres en el array de post */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:260
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:49
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:69
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:74
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:111
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:132
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:145
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:167
Inherited from Infinyti\Base\Controllers\ViewController Defined in <ROOT>/library/base/Controllers/ViewController.php:185
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Resources.php:17
/** * Retrieve Instance of the executed application * * @return App */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Resources.php:27
/** * Sets Instance of the executed application * * @param Object $application * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Resources.php:39
/** * Retrievea Request made to the server * @return ServerRequest */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Resources.php:50
/** * Sets Request made to the server * * @param Object $request * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Resources.php:62
/** * Initialize the route processing necessary to execute the request * * @return Controller Instance of the requested entity's controller */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:60
/** * Retrieve the current route * * @return array */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:78
/** * Set the current route * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:88
/** * Retrieve environment in which the application works * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:100
/** * Sets environment in which the application works * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:110
/** * Retrieve name of the requested entity, table or resource * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:122
/** * Sets name of the requested entity, table or resource * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:132
/** * Retrieve name of the action that is executed in the request * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:144
/** * Sets name of the action that is executed in the request * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:154
/** * Retrieve all available routes for the current entity * * @return Infinyti\Library\Base\Warps\Collections\Collection */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:166
/** * Sets all available routes for the current entity * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:176
/** * Sets the route that is redirected when an action is canceled * * @param ServerRequest $request * @return Controller Instance of the requested entity's controller */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Routes.php:212
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:118
/** * Retrieve reflection class * * @return Object */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:153
/** * Sets reflection class * * @param Object $reflection * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:165
/** * Restrieve prefix of the namespace of the current component * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:177
/** * Sets prefix of the namespace of the current component * * @param string $prefix * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:189
/** * Retrieve Path of the current component * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:200
/** * Sets Path of the current component * @param string $compPath * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:211
/** * Retrieve Name of controller requested * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:222
/** * Sets Name of controller requested * * @param string $controller * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:234
/** * Retrieve Name of the scheme for the request * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:247
/** * Sets Name of the scheme for the request * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:256
/** * Retrieve instance of the scheme for the request * * @return [type] */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:294
/** * Sets instance of the scheme for the request * * @param String $schemaName * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:306
/** * Retrieve Instance of the model for the request * * @return boolean */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:335
/** * Sets Instance of the model for the request * * @param Object $model * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:347
/** * Gets Name of the model for the request * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:361
/** * Sets Name of the model for the request * @param string $modelName * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:371
/** * Check if exists model files * * @param string $modelName * * @return string Model namespace */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:390
/** * Retrieve Email templates path * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:418
/** * Sets Email templates path * * @param string $emailPath * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:430
/** * Retrieve Language path * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:442
/** * Sets Language path * * @param string $language * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:454
/** * Retrieve language code * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:467
/** * Sets language code * * @param string $langCode * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:479
/** * Load language files * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:491
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:502
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:509
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:520
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:529
/** * Retrieve configuration of the application that contains the requested component. * * @return array */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:556
/** * Sets configuration of the application that contains the requested component. * * @param mixed $app * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:568
/** * Retrieve configuration of the requested component * * @return mixed */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:588
/** * Sets Configuration of the requested component * * @param mixed $component * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:600
/** * Retrieve the namespace of the currently requested component * * @return string */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:622
/** * Sets the namespace of the currently requested component * * @param string $componentNamespace * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:634
/** * Normaliza las varaibles de la ruta y los parametros recibidos * * @param array $data * @param array $params * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:648
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:700
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:711
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:770
/** * Inicializa los parámetros para responder a una petición API */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:26
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:77
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:106
/** * Función para agregar las cabeceras de autorización de los CORS * * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:131
/** * Función para recoger el json que llega en una petición post para añadirla al metodo post * * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:162
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:185
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ApiStructural.php:213
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:21
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:39
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:68
/** * @return mixed */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:139
/** * @param mixed $eagerLoad * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Relationship.php:149
/** * Inicia la ejecución de los proceso necesarios para mostrar la interfaz de * administración. * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:45
/** * Obtiene el menú de la interfaz de administración generado a partir de los * ficheros de manifest en las aplicaciones y los ficheros config en los * componentes * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:69
/** * Obtiene los títulos usados en la interfaz de administracion * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:83
/** * Fusiona los campos por defecto con los campos definidos en el controlador * y los ordena según el orden definido en el controlador en la propiedad * protected $fields * * @return self */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:108
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:168
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:173
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:195
/** * Retorna los campos que se ocultan en la tabla de datos * @return mixed */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Admin.php:210
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ManifestMvvm.php:31
/** * Create manifest file to work with MVVM */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/ManifestMvvm.php:38
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:11
/** * Redireccionar a la url indica, si hay una url de retorno, la redirección * se realizará a dicha url * * * @param string $url * * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:27
/** * Funcion para redireccionar a la url de retorno * * @param boolean $getParams indica si se deben enviar los parametros de la url * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:68
/** * Redirecciona a una ruta del mismo componente que recibe como parametro el * id de un registro Ej. edit/$uuid * * @param string $actionName nombre de la ruta a la que se redirecciona */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:85
/** * Search methods that contain in their name the string received as a parameter * * @param string $like * * @return array */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:105
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:120
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:145
/** * Verifica si el modelo tiene un modelo de medios, y la ruta actual esta entre las * rutas de medios * * @return boolean */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:24
/** * Verifica si el controlador tiene rutas de medios o si las rutas de medios * personalizadas fueron agregadas * * @return boolean */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:35
/** * Importa las rutas de medios de un controlador padre o objeto * Si se proporciona un objeto padre, fusiona sus rutas de medios con las * rutas de medios actuales,asegurando que no haya rutas duplicadas. * * @param Object|null $parentObject El objeto padre que contiene las rutas de medios * * @return self Retorna el objeto actual con las rutas de medios fusionadas */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:49
/** * Obtiene las rutas de medios * * @return array */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:75
/** * Establece las rutas de medios * * @param array $customMediaRoutes Arreglo con los nombres de las rutas agregar * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:86
/** * Obtiene las rutas personalizadas * * @return array */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:98
/** * Agrega una o mas rutas personalizadas al arreglo de rutas de medios * * @param array|string $customMediaRoutes * @return void */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Traits/MediaTrait.php:109
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Structural.php:750
Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:171
/** * Agrega el id del usuario que esta iniciado sesión a los datos del post recibido */ Inherited from Infinyti\Base\Controllers\BaseController Defined in <ROOT>/library/base/Controllers/Middlewares/Operations.php:184
/** * Normaliza la matriz multidimensional de $_FILES para soportar inputs de archivos múltiples. * * @param array $files Matriz de archivos original * @return array Matriz de archivos normalizada */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:81
/** * Elimina los archivos de $_FILES que tienen error 4 (sin archivo cargado) */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:105
/** * Verifica si existen archivos cargados en $_FILES * * @return bool Retorna true si $_FILES no está vacío */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:134
/** * Procesa los archivos subidos y realiza las compresiones necesarias * * @param array $upload Array con los archivos subidos * @param object $configService Configuración de servicios * @return bool Retorna true si hay errores */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:146
/** * Envía una notificación si ocurre un error con un archivo * * @param array $file Información del archivo que contiene el error */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:206
/** * Envía una notificación si ocurre un error durante la compresión * * @param array $error Array de mensajes de error */ Inherited from Infinyti\Base\Controllers\FilesController Defined in <ROOT>/library/base/Controllers/FilesController.php:216