src/StreamFactory.php
public function copyTo(StreamInterface $source, StreamInterface $dest)
    {
        $source->rewind();
        $dest->write($source->getContents());
        return $dest;
    }
public function copyTo(StreamInterface $source, StreamInterface $dest)
    {
        $source->rewind();
        $dest->write($source->getContents());
        return $dest;
    }
public function copyTo ( StreamInterface $ source , StreamInterface $ dest ) { $ source -> rewind ( ) ; $ dest -> write ( $ source -> getContents ( ) ) ; return $ dest ; }
Non-Psr
Non - Psr