X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRest%2FCopyableStreamInterface.php;h=3e18e165f22e1c4e31a59a323bb88909ac7b27f2;hb=ba76dfdd050b83eb124ef2f12a6f22c467133fca;hp=d271db36906e57d1bf75c29c785bba865fe838db;hpb=c7c908e68fb85b2a00b1dda2d7d26f80d82c55d9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Rest/CopyableStreamInterface.php b/includes/Rest/CopyableStreamInterface.php index d271db3690..3e18e165f2 100644 --- a/includes/Rest/CopyableStreamInterface.php +++ b/includes/Rest/CopyableStreamInterface.php @@ -10,6 +10,9 @@ interface CopyableStreamInterface extends \Psr\Http\Message\StreamInterface { * Copy this stream to a specified stream resource. For some streams, * this can be implemented without a tight loop in PHP code. * + * Equivalent to reading from the object until EOF and writing the + * resulting data to $stream. The position will be advanced to the end. + * * Note that $stream is not a StreamInterface object. * * @param resource $stream Destination