Creates EvPrepare watcher object associated with the current event loop instance

# EvLoop::prepare

(PECL ev >= 0.2.0)

EvLoop::prepare — Creates EvPrepare watcher object associated with the current event loop instance

### Descrierea

final public EvLoop::prepare ( callable `$callback` [, mixed `$data` = `NULL` [, int `$priority` = 0 ]] ) : EvPrepare

Creates EvPrepare watcher object associated with the current event loop instance

### Parametri

All parameters have the same maening as for EvPrepare()

### Valorile întoarse

Returns EvPrepare object on success

### A se vedea și

- EvPrepare::__construct() - Constructs EvPrepare watcher object