Counter
PHP 手册

Counter::getNamed

Counter::getNamed Retrieve an existing named counter.

说明

static Counter Counter::getNamed ( string $name )

Counter::getNamed() returns an existing counter by name if that name exists, or NULL otherwise. This is a static function.

参数

name
The counter name to search for.

返回值

Counter::getNamed() returns an existing counter by name if that name exists, or NULL otherwise.


Counter
PHP 手册