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

Breadcrumb

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

function AbstractArray::toArray

@inheritDoc

Overrides ArrayInterface::toArray

2 calls to AbstractArray::toArray()
AbstractMap::toArray in vendor/ramsey/collection/src/Map/AbstractMap.php
AbstractMap::toArray in vendor/ramsey/collection/src/Map/AbstractMap.php
1 method overrides AbstractArray::toArray()
AbstractMap::toArray in vendor/ramsey/collection/src/Map/AbstractMap.php

File

vendor/ramsey/collection/src/AbstractArray.php, line 162

Class

AbstractArray
This class provides a basic implementation of `ArrayInterface`, to minimize the effort required to implement this interface.

Namespace

Ramsey\Collection

Code

public function toArray() : array {
    return $this->data;
}

API Navigation

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