Namespaces
Salient
Cache
Cli
Collection
Console
Container
Contract
Core
Curler
Http
Iterator
PHPDoc
Polyfill
Sync
Testing
Utility
none
Classes
Collection
Dictionary
ListCollection
Traits
ArrayableCollectionTrait
CollectionTrait
DictionaryTrait
ListCollectionTrait
ReadOnlyArrayAccessTrait
ReadOnlyCollectionTrait
RecursiveArrayableCollectionTrait
Overview
Namespace
Trait
Tree
Trait
Salient
\
Collection
\
RecursiveArrayableCollectionTrait
<
TKey
is array-key,
TValue
>
Salient\Collection\RecursiveArrayableCollectionTrait
Salient\Collection\ListCollection
implements
CollectionInterface
<int, TValue, mixed[]>,
IteratorAggregate
<int, TValue> uses
ListCollectionTrait
,
RecursiveArrayableCollectionTrait
Salient\Collection\Collection
implements
CollectionInterface
<TKey, TValue, mixed[]>,
IteratorAggregate
<TKey, TValue> uses
CollectionTrait
,
RecursiveArrayableCollectionTrait
Salient\Collection\Dictionary
implements
DictionaryInterface
<TKey, TValue, mixed[]>,
IteratorAggregate
<TKey, TValue> uses
DictionaryTrait
,
RecursiveArrayableCollectionTrait
Located at
Toolkit/Collection/RecursiveArrayableCollectionTrait.php
Methods
public
toArray
(
bool
$preserveKeys
=
true
): array
#