PHP Class queue

显示文件 Open project: phpbb/phpbb Class Usage Examples

Public Properties

Property Type Description
$cache_file
$data
$eol
$package_size
$queue_data

Protected Properties

Property Type Description
$filesystem phpbb\filesystem\filesystem_interface

Public Methods

Method Description
init ( $object, $package_size ) Init a queue object
process ( ) Process queue Using lock file
put ( $object, $scope ) Put object in queue
queue ( ) constructor
save ( ) Save queue

Method Details

init() public method

Init a queue object
public init ( $object, $package_size )

process() public method

Process queue Using lock file
public process ( )

put() public method

Put object in queue
public put ( $object, $scope )

queue() public method

constructor
public queue ( )

save() public method

Save queue
public save ( )

Property Details

$cache_file public_oe property

public $cache_file

$data public_oe property

public $data

$eol public_oe property

public $eol

$filesystem protected_oe property

protected filesystem_interface,phpbb\filesystem $filesystem
return phpbb\filesystem\filesystem_interface

$package_size public_oe property

public $package_size

$queue_data public_oe property

public $queue_data