« Ds\Stack::allocate
Ds\Stack::clear »

Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacity — Returns the current capacity

説明

public function Ds\Stack::capacity(): int

Returns the current capacity.

パラメータ

この関数にはパラメータはありません。

戻り値

The current capacity.

関連キーワード:
capacity   Stack   allocate   clear
関連する関数・ページ:
ds-stack.allocate   ds-set.capacity   ds-map.capacity   class.ds-stack   ds-set.allocate   ds-map.allocate