PHP 클래스 Spork\Batch\BatchRunner

파일 보기 프로젝트 열기: kriswallsmith/spork

공개 메소드들

메소드 설명
__construct ( mixed $batch, callable $callback ) Constructor.
__invoke ( SharedMemory $shm )

메소드 상세

__construct() 공개 메소드

The callback should be a callable with the following signature: function($item, $index, $batch, $sharedMem)
public __construct ( mixed $batch, callable $callback )
$batch mixed The batch
$callback callable The callback

__invoke() 공개 메소드

public __invoke ( SharedMemory $shm )
$shm Spork\SharedMemory