function AbstractArray::__serialize
Returns data suitable for PHP serialization.
@link https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.mag… @link https://www.php.net/serialize
Return value
array<array-key, T>
2 calls to AbstractArray::__serialize()
- AbstractMap::__serialize in vendor/
ramsey/ collection/ src/ Map/ AbstractMap.php - AbstractMap::__serialize in vendor/
ramsey/ collection/ src/ Map/ AbstractMap.php
1 method overrides AbstractArray::__serialize()
- AbstractMap::__serialize in vendor/
ramsey/ collection/ src/ Map/ AbstractMap.php
File
-
vendor/
ramsey/ collection/ src/ AbstractArray.php, line 129
Class
- AbstractArray
- This class provides a basic implementation of `ArrayInterface`, to minimize the effort required to implement this interface.
Namespace
Ramsey\CollectionCode
public function __serialize() : array {
return $this->data;
}