private static function streamReadLength(ContainerInterface $container): ? int
    {
        return $container->has(self::STREAM_READ_LENGTH) ? $container->get(self::STREAM_READ_LENGTH) : null;
    }
private static function streamReadLength(ContainerInterface $container): ? int
    {
        return $container->has(self::STREAM_READ_LENGTH) ? $container->get(self::STREAM_READ_LENGTH) : null;
    }
private static function streamReadLength ( ContainerInterface $ container ) : ? int { return $ container -> has ( self :: STREAM_READ_LENGTH ) ? $ container -> get ( self :: STREAM_READ_LENGTH ) : null ; }
Return the length for read the stream, if null is return all the body will be print.

@throws ContainerExceptionInterface
@throws NotFoundExceptionInterface
Return the length for read the stream if null is return all the body will be print .