After setting up the KnpGaufretteBundle with GoogleCloudStorage adapter, I am able to write files in the Google Cloud Storage.
But I have no clue on how to retrieve the public access link to that file (image, in this case).
Here is an example of the code I am using to write, if it is relevant in anyway. Actually I have to versions:
$fs = $this->get("knp_gaufrette.filesystem_map")->get("bucket_name");
$fs->write("image.jpg",file_get_contents("/path/to/file"));
or
$file = new \Gaufrette\File("image.jpg",$this->get("knp_gaufrette.filesystem_map")->get("bucket_name"));
$file->setContent(file_get_contents("/path/to/file"));
Any ideas on how to retrieve the public ("http://..") url from here?
Thanks!