protected static function build( $connection ) {
		$connections = static::connections();

		if ( empty( $connections[ $connection ] ) ) {
			throw new ConnectionNotFoundException();
		}

		static::$instances[ $connection ] = new Queue( $connections[ $connection ] );

		return static::$instances[ $connection ];
	}
protected static function build( $connection ) {
		$connections = static::connections();

		if ( empty( $connections[ $connection ] ) ) {
			throw new ConnectionNotFoundException();
		}

		static::$instances[ $connection ] = new Queue( $connections[ $connection ] );

		return static::$instances[ $connection ];
	}
protected static function build ( $ connection ) { $ connections = static :: connections ( ) ; if ( empty ( $ connections [ $ connection ] ) ) { throw new ConnectionNotFoundException ( ) ; } static :: $ instances [ $ connection ] = new Queue ( $ connections [ $ connection ] ) ; return static :: $ instances [ $ connection ] ; }
Build a queue instance.

@param string $connection

@return Queue
@throws \Exception
Build a queue instance .