Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacityReturns the current capacity

說明

public Ds\Stack::capacity(): int

Returns the current capacity.

參數

此函數沒有參數。

返回值

The current capacity.