@@ -457,10 +457,11 @@ public function containerExportStream($container)
457457 * If you want to monitor live stats events as they happen, you
458458 * should consider using `imageStatsStream()` instead.
459459 *
460+ * Available as of Docker Engine API v1.19 (Docker v1.7), use `containerStatsStream()` on legacy versions
461+ *
460462 * @param string $container container ID
461463 * @return PromiseInterface Promise<array> JSON stats
462464 * @link https://docs.docker.com/engine/api/v1.40/#operation/ContainerStats
463- * @since 0.3.0 Available as of Docker Engine API v1.19 (Docker v1.7), use `containerStatsStream()` on legacy versions
464465 * @see self::containerStatsStream()
465466 */
466467 public function containerStats ($ container )
@@ -484,10 +485,11 @@ public function containerStats($container)
484485 * - error: once if an error occurs, will close() stream then
485486 * - close: once the stream ends (either finished or after "error")
486487 *
488+ * Available as of Docker Engine API v1.17 (Docker v1.5)
489+ *
487490 * @param string $container container ID
488491 * @return ReadableStreamInterface JSON stats stream
489492 * @link https://docs.docker.com/engine/api/v1.40/#operation/ContainerStats
490- * @since 0.3.0 Available as of Docker Engine API v1.17 (Docker v1.5)
491493 * @see self::containerStats()
492494 */
493495 public function containerStatsStream ($ container )
@@ -726,12 +728,13 @@ public function containerRemove($container, $v = false, $force = false)
726728 * for this library. Several libraries are available, one that is known to
727729 * work is clue/reactphp-tar (see links).
728730 *
731+ * Available as of Docker Engine API v1.20 (Docker v1.8)
732+ *
729733 * @param string $container container ID
730734 * @param string $resource path to file or directory to archive
731735 * @return PromiseInterface Promise<string> tar stream
732736 * @link https://docs.docker.com/engine/api/v1.40/#operation/ContainerArchive
733737 * @link https://github.com/clue/reactphp-tar
734- * @since 0.3.0 Available as of Docker Engine API v1.20 (Docker v1.8)
735738 * @see self::containerArchiveStream()
736739 */
737740 public function containerArchive ($ container , $ path )
@@ -763,12 +766,13 @@ public function containerArchive($container, $path)
763766 * The resulting stream is a well-behaving readable stream that will emit
764767 * the normal stream events.
765768 *
769+ * Available as of Docker Engine API v1.20 (Docker v1.8)
770+ *
766771 * @param string $container container ID
767772 * @param string $path path to file or directory to archive
768773 * @return ReadableStreamInterface tar stream
769774 * @link https://docs.docker.com/engine/api/v1.40/#operation/ContainerArchive
770775 * @link https://github.com/clue/reactphp-tar
771- * @since 0.3.0 Available as of Docker Engine API v1.20 (Docker v1.8)
772776 * @see self::containerArchive()
773777 */
774778 public function containerArchiveStream ($ container , $ path )
0 commit comments