Listener (Queue)

Listener

class Listener (View source)

Methods

void __construct( string $commandPath)

Create a new queue listener.

void listen( string $connection, string $queue, string $delay, string $memory, int $timeout = 60)

Listen to the given queue connection.

void runProcess( Process $process, int $memory)

Run the given process.

登录查看完整内容