Codesleeve\AssetPipeline\Composers\ImageComposer::process PHP Method

process() public method

Process the paths that come through the asset pipeline
public process ( array $paths, array $absolutePaths, array $attributes ) : void
$paths array
$absolutePaths array
$attributes array
return void
    public function process($paths, $absolutePaths, $attributes)
    {
        $url = url();
        $attributesAsText = $this->attributesArrayToText($attributes);
        foreach ($paths as $path) {
            print "<img src=\"{$url}{$path}\" {$attributesAsText}>" . PHP_EOL;
        }
    }
ImageComposer