CakeFest 2024: The Official CakePHP Conference

Ds\Map::capacity

(PECL ds >= 1.0.0)

Ds\Map::capacityReturns the current capacity

Descripción

public Ds\Map::capacity(): int

Returns the current capacity.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The current capacity.

Ejemplos

Ejemplo #1 Ds\Map::capacity() example

<?php
$map
= new \Ds\Map();
var_dump($map->capacity());
?>

El resultado del ejemplo sería algo similar a:

int(16)
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top