src/Image.php
public function sourceSet(SizeRange $range): string
    {
        return $range->toVector()
            ->map(function ($size) {
                return $this->source($size) . " {$size}w";
            })
            ->join(', ');
    }
public function sourceSet(SizeRange $range): string
    {
        return $range->toVector()
            ->map(function ($size) {
                return $this->source($size) . " {$size}w";
            })
            ->join(', ');
    }
public function sourceSet ( SizeRange $ range ) : string { return $ range -> toVector ( ) -> map ( function ( $ size ) { return $ this -> source ( $ size ) . " {$size}w" ; } ) -> join ( ', ' ) ; }
Return the contents of a srcset attribute for the given range of widths.
Return the contents of a srcset attribute for the given range of widths .