src/CloudinaryAdapter.php
protected function prepareResourceMetadata($resource)
    {
        $resource['type'] = 'file';
        $resource['path'] = $resource['public_id'];
        $resource = array_merge($resource, $this->prepareSize($resource));
        $resource = array_merge($resource, $this->prepareTimestamp($resource));
        $resource = array_merge($resource, $this->prepareMimetype($resource));

        return $resource;
    }
protected function prepareResourceMetadata($resource)
    {
        $resource['type'] = 'file';
        $resource['path'] = $resource['public_id'];
        $resource = array_merge($resource, $this->prepareSize($resource));
        $resource = array_merge($resource, $this->prepareTimestamp($resource));
        $resource = array_merge($resource, $this->prepareMimetype($resource));

        return $resource;
    }
protected function prepareResourceMetadata ( $ resource ) { $ resource [ 'type' ] = 'file' ; $ resource [ 'path' ] = $ resource [ 'public_id' ] ; $ resource = array_merge ( $ resource , $ this -> prepareSize ( $ resource ) ) ; $ resource = array_merge ( $ resource , $ this -> prepareTimestamp ( $ resource ) ) ; $ resource = array_merge ( $ resource , $ this -> prepareMimetype ( $ resource ) ) ; return $ resource ; }
Prepare apropriate metadata for resource metadata given from cloudinary.
@param  array $resource
@return array
Prepare apropriate metadata for resource metadata given from cloudinary .