src/Events/EventEmitter.php
/**
	 * Creates an array for the channel if it doesn't exist.
	 */
Creates an array for the channel if it doesn't exist.
Creates an array for the channel if it doesn ' t exist .
private function prepare($channel) {
		if (!isset($this->hooks[$channel])) {
			$this->hooks[$channel] = array();
		}
	}
private function prepare ( $ channel ) { if ( ! isset ( $ this -> hooks [ $ channel ] ) ) { $ this -> hooks [ $ channel ] = array ( ) ; } }
Creates an array for the channel if it doesn't exist.
Creates an array for the channel if it doesn ' t exist .