Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacityReturns the current capacity

說明

public Ds\Stack::capacity(): int

Returns the current capacity.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

The current capacity.