protected function serveRawAssets(Collection $collection, string $group, ?string $format) : array {
        $responses = array();

        foreach ($collection->getAssetsOnlyRaw($group) as $asset) {
            $path = $asset->getRelativePath();

            $responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
        }

        return $responses;
    }
protected function serveRawAssets(Collection $collection, string $group, ?string $format) : array {
        $responses = array();

        foreach ($collection->getAssetsOnlyRaw($group) as $asset) {
            $path = $asset->getRelativePath();

            $responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
        }

        return $responses;
    }
protected function serveRawAssets ( Collection $ collection , string $ group , ? string $ format ) : array { $ responses = array ( ) ; foreach ( $ collection -> getAssetsOnlyRaw ( $ group ) as $ asset ) { $ path = $ asset -> getRelativePath ( ) ; $ responses [ ] = $ this -> { 'create' . studly_case ( $ group ) . 'Element' } ( $ path , $ format ) ; } return $ responses ; }
Serve a collections raw assets.
Serve a collections raw assets .