src/Database/Migration/SchemaRecorder.php
/**
	 * Stops listening to queries on all database connections.
	 *
	 * @return void
	 */
Stops listening to queries on all database connections.
@return void
Stops listening to queries on all database connections . @return void
private static function stopListening() {
		foreach (config('database') as $connectionName => $config) {
			$handler = static::getHandler($connectionName);
			$database = DatabaseFacade::connection($connectionName)->getDatabase();
			$database->remove('query', $handler);
		}
	}
private static function stopListening ( ) { foreach ( config ( 'database' ) as $ connectionName => $ config ) { $ handler = static :: getHandler ( $ connectionName ) ; $ database = DatabaseFacade :: connection ( $ connectionName ) -> getDatabase ( ) ; $ database -> remove ( 'query' , $ handler ) ; } }
Stops listening to queries on all database connections.
Stops listening to queries on all database connections .