src/Database/Migration/SchemaRecorder.php
/**
	 * Activates the given bucket and starts sending queries into it.
	 *
	 * @param SchemaRecorderBucket $bucket
	 * @return void
	 */
Activates the given bucket and starts sending queries into it.
@param SchemaRecorderBucket $bucket
@return void
Activates the given bucket and starts sending queries into it . @param SchemaRecorderBucket $bucket @return void
public static function startBucket(SchemaRecorderBucket $bucket) {
		$index = array_search($bucket, static::$buckets);
		if ($index === false) {
			static::$buckets[] = $bucket;
			if (count(static::$buckets) === 1) {
				static::startListening();
			}
		}
	}
public static function startBucket ( SchemaRecorderBucket $ bucket ) { $ index = array_search ( $ bucket , static :: $ buckets ) ; if ( $ index === false ) { static :: $ buckets [ ] = $ bucket ; if ( count ( static :: $ buckets ) === 1 ) { static :: startListening ( ) ; } } }
Activates the given bucket and starts sending queries into it.
Activates the given bucket and starts sending queries into it .
// Start listening upon the first bucket