public static function canBeUsedForRequest(Request $request)
    {
        $hasChunkParams = $request->has(static::KEY_CHUNK_NUMBER)
                          && $request->has(static::KEY_TOTAL_SIZE)
                          && $request->has(static::KEY_CHUNK_SIZE)
                          && $request->has(static::KEY_CHUNK_CURRENT_SIZE);

        return $hasChunkParams && self::checkChunkParams($request);
    }
public static function canBeUsedForRequest(Request $request)
    {
        $hasChunkParams = $request->has(static::KEY_CHUNK_NUMBER)
                          && $request->has(static::KEY_TOTAL_SIZE)
                          && $request->has(static::KEY_CHUNK_SIZE)
                          && $request->has(static::KEY_CHUNK_CURRENT_SIZE);

        return $hasChunkParams && self::checkChunkParams($request);
    }
public static function canBeUsedForRequest ( Request $ request ) { $ hasChunkParams = $ request -> has ( static :: KEY_CHUNK_NUMBER ) && $ request -> has ( static :: KEY_TOTAL_SIZE ) && $ request -> has ( static :: KEY_CHUNK_SIZE ) && $ request -> has ( static :: KEY_CHUNK_CURRENT_SIZE ) ; return $ hasChunkParams && self :: checkChunkParams ( $ request ) ; }
Checks if the current handler can be used via HandlerFactory.

@param Request $request

@return bool

@throws ChunkInvalidValueException
Checks if the current handler can be used via HandlerFactory .