PHP Class Cml\Vendor\Quenue

Show file Open project: linhecheng/cmlphp

Public Methods

Method Description
clear ( ) : string 队列-清空队列数据
count ( ) : string 队列-队列中总共有多少值
get ( ) : string 队列-从队列中获取一个最早放进队列的值
set ( mixed $val ) : boolean 队列-设置值

Method Details

clear() public method

队列-清空队列数据
public clear ( ) : string
return string

count() public method

队列-队列中总共有多少值
public count ( ) : string
return string

get() public method

队列-从队列中获取一个最早放进队列的值
public get ( ) : string
return string

set() public method

队列-设置值
public set ( mixed $val ) : boolean
$val mixed 要入队的值
return boolean