Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
AbstractArray.php
function AbstractArray::clear
Overrides
ArrayInterface::clear
File
vendor/
ramsey/
collection/
src/
AbstractArray.php
, line 154
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
clear
() : void {
$this
->
data
= []; }
RSS feed