protected function respond($response, $contents, $build)
    {
        // Deliver built asset.
        $body = $response->getBody();
        $body->write($contents);
        $body->rewind();

        return $response->withHeader('Content-Type', $this->mapType($build));
    }
protected function respond($response, $contents, $build)
    {
        // Deliver built asset.
        $body = $response->getBody();
        $body->write($contents);
        $body->rewind();

        return $response->withHeader('Content-Type', $this->mapType($build));
    }
protected function respond ( $ response , $ contents , $ build ) { // Deliver built asset. $ body = $ response -> getBody ( ) ; $ body -> write ( $ contents ) ; $ body -> rewind ( ) ; return $ response -> withHeader ( 'Content-Type' , $ this -> mapType ( $ build ) ) ; }
Respond with the asset.

@param \Psr\Http\Message\ResponseInterface $response The response to augment
@param string $contents The asset contents.
@param \MiniAsset\AssetTarget $build The build target.
@return \Psr\Http\Message\ResponseInterface
Respond with the asset .