The Runnable interface

(PECL pht >= 0.0.1)

Introduction

The pht\Runnable interface enforces the implementation of a run() method on classes that should be threaded. This method acts as the entry point of the threaded class.

Interface synopsis

class pht\Runnable {
/* Methods */
public run(): void
}

Table of Contents