public static function flush($queue)
	{
		foreach (static::$flushers[$queue] as $flusher)
		{
			// We will simply spin through each payload registered for the event and
			// fire the flusher, passing each payloads as we go. This allows all
			// the events on the queue to be processed by the flusher easily.
			if ( ! isset(static::$queued[$queue])) continue;

			foreach (static::$queued[$queue] as $key => $payload)
			{
				array_unshift($payload, $key);

				call_user_func_array($flusher, $payload);
			}
		}
	}
public static function flush($queue)
	{
		foreach (static::$flushers[$queue] as $flusher)
		{
			// We will simply spin through each payload registered for the event and
			// fire the flusher, passing each payloads as we go. This allows all
			// the events on the queue to be processed by the flusher easily.
			if ( ! isset(static::$queued[$queue])) continue;

			foreach (static::$queued[$queue] as $key => $payload)
			{
				array_unshift($payload, $key);

				call_user_func_array($flusher, $payload);
			}
		}
	}
public static function flush ( $ queue ) { foreach ( static :: $ flushers [ $ queue ] as $ flusher ) { // We will simply spin through each payload registered for the event and // fire the flusher, passing each payloads as we go. This allows all // the events on the queue to be processed by the flusher easily. if ( ! isset ( static :: $ queued [ $ queue ] ) ) continue ; foreach ( static :: $ queued [ $ queue ] as $ key => $ payload ) { array_unshift ( $ payload , $ key ) ; call_user_func_array ( $ flusher , $ payload ) ; } } }
Flush an event queue, firing the flusher for each payload.

@param  string  $queue
@return void
Flush an event queue firing the flusher for each payload .