filestack/FilestackClient.php
public function getContent($url)
    {
        if (!$this->isUrl($url)) { // CommonMixin
            $url = $this->getCdnUrl($url);
        }

        // call CommonMixin function
        $result = $this->sendGetContent($url, $this->security);

        return $result;
    }
public function getContent($url)
    {
        if (!$this->isUrl($url)) { // CommonMixin
            $url = $this->getCdnUrl($url);
        }

        // call CommonMixin function
        $result = $this->sendGetContent($url, $this->security);

        return $result;
    }
public function getContent ( $ url ) { if ( ! $ this -> isUrl ( $ url ) ) { // CommonMixin $ url = $ this -> getCdnUrl ( $ url ) ; } // call CommonMixin function $ result = $ this -> sendGetContent ( $ url , $ this -> security ) ; return $ result ; }
Get the content of file

@param string            $url        Filestack file url or handle

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

@return string (file content)
Get the content of file