protected function serveProductionCollection(Collection $collection, string $group, ?string $format) : string {
        $entry = $this->getCollectionEntry($collection);

        $fingerprint = $entry->getProductionFingerprint($group);

        $production = $this->{'create'.studly_case($group).'Element'}($this->prefixBuildPath($fingerprint), $format);

        return $this->formatResponse($this->serveRawAssets($collection, $group, $format), $production);
    }
protected function serveProductionCollection(Collection $collection, string $group, ?string $format) : string {
        $entry = $this->getCollectionEntry($collection);

        $fingerprint = $entry->getProductionFingerprint($group);

        $production = $this->{'create'.studly_case($group).'Element'}($this->prefixBuildPath($fingerprint), $format);

        return $this->formatResponse($this->serveRawAssets($collection, $group, $format), $production);
    }
protected function serveProductionCollection ( Collection $ collection , string $ group , ? string $ format ) : string { $ entry = $ this -> getCollectionEntry ( $ collection ) ; $ fingerprint = $ entry -> getProductionFingerprint ( $ group ) ; $ production = $ this -> { 'create' . studly_case ( $ group ) . 'Element' } ( $ this -> prefixBuildPath ( $ fingerprint ) , $ format ) ; return $ this -> formatResponse ( $ this -> serveRawAssets ( $ collection , $ group , $ format ) , $ production ) ; }
Serve a production collection.
Serve a production collection .