filestack/Filelink.php
public function save($options = [])
    {
        $this->initTransformUrl();
        $this->transform_url = $this->insertTransformStr($this->transform_url,
            'store', $options);

        // call CommonMixin function
        $response = $this->sendRequest('GET', $this->transform_url);
        $filelink = $this->handleResponseCreateFilelink($response);

        return $filelink;
    }
public function save($options = [])
    {
        $this->initTransformUrl();
        $this->transform_url = $this->insertTransformStr($this->transform_url,
            'store', $options);

        // call CommonMixin function
        $response = $this->sendRequest('GET', $this->transform_url);
        $filelink = $this->handleResponseCreateFilelink($response);

        return $filelink;
    }
public function save ( $ options = [ ] ) { $ this -> initTransformUrl ( ) ; $ this -> transform_url = $ this -> insertTransformStr ( $ this -> transform_url , 'store' , $ options ) ; // call CommonMixin function $ response = $ this -> sendRequest ( 'GET' , $ this -> transform_url ) ; $ filelink = $ this -> handleResponseCreateFilelink ( $ response ) ; return $ filelink ; }
Save this transformed filelink in cloud storage

@param array     $options    array of store options

@throws FilestackException   if API call fails, e.g 404 file not found

@return Filestack\Filelink
Save this transformed filelink in cloud storage