Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ArrayInterface.php

function ArrayInterface::toArray

Returns a native PHP array representation of this array object.

Return value

array<array-key, T>

1 method overrides ArrayInterface::toArray()
AbstractArray::toArray in vendor/ramsey/collection/src/AbstractArray.php
@inheritDoc

File

vendor/ramsey/collection/src/ArrayInterface.php, line 43

Class

ArrayInterface
`ArrayInterface` provides traversable array functionality to data types.

Namespace

Ramsey\Collection

Code

public function toArray() : array;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal