From 9bac265b9df65068f41143076098178d4491e8df Mon Sep 17 00:00:00 2001 From: Michael Strong Date: Fri, 19 May 2017 14:57:46 +1200 Subject: [PATCH] DOCS correct referent to 'FETCH_STREAM' const --- docs/cookbook/build-image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cookbook/build-image.md b/docs/cookbook/build-image.md index bbb5fce8..3de39071 100644 --- a/docs/cookbook/build-image.md +++ b/docs/cookbook/build-image.md @@ -76,7 +76,7 @@ stream in real time. The callback will receive a `BuildInfo` object once a line is available: ```php -$buildStream = $imageManager->build($inputStream, [], ContainerManager::FETCH_STREAM); +$buildStream = $imageManager->build($inputStream, [], ImageManager::FETCH_STREAM); $buildStream->onFrame(function (BuildInfo $buildInfo) { echo $buildInfo->getStream(); });