interface Collectable (View source)

(PECL pthreads >= 2.0.8)
Represents a garbage-collectable object.

Methods

bool
isGarbage()

(PECL pthreads >= 2.0.8)
Can be called in Pool::collect() to determine if this object is garbage

Details

bool isGarbage()

(PECL pthreads >= 2.0.8)
Can be called in Pool::collect() to determine if this object is garbage

Return Value

bool

Whether this object is garbage or not