1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-06 04:38:21 +01:00
parallel/src/Worker/WorkerFactory.php
2015-12-04 23:50:32 -06:00

16 lines
273 B
PHP

<?php
namespace Icicle\Concurrent\Worker;
/**
* Interface for factories used to create new workers.
*/
interface WorkerFactory
{
/**
* Creates a new worker instance.
*
* @return Worker The newly created worker.
*/
public function create();
}