interface DriverInterface

Methods

void
watch(Channel $channel)

Run the watch loop, pushing changed file paths into the channel.

void
stop()

Stop watching and release the driver's resources.

Details

at line 17
void watch(Channel $channel)

Run the watch loop, pushing changed file paths into the channel.

This method blocks for one driver lifecycle. It returns only after terminal completion or stop() releases the driver's suspended work.

Parameters

Channel $channel

Return Value

void

at line 24
void stop()

Stop watching and release the driver's resources.

Idempotent — teardown paths may invoke it multiple times.

Return Value

void