public function postPackagesChangelog(PackageChangelog $request)
    {
        $changelog_uri = $request->input('uri');
        $changelog_body = $request->input('body');
        $changelog_tag = $request->input('tag');

        if (! is_null($changelog_body) && ! is_null($changelog_tag))
            return $this->getChangelogFromApi($changelog_uri, $changelog_body, $changelog_tag);

        return $this->getChangelogFromFile($changelog_uri);
    }
public function postPackagesChangelog(PackageChangelog $request)
    {
        $changelog_uri = $request->input('uri');
        $changelog_body = $request->input('body');
        $changelog_tag = $request->input('tag');

        if (! is_null($changelog_body) && ! is_null($changelog_tag))
            return $this->getChangelogFromApi($changelog_uri, $changelog_body, $changelog_tag);

        return $this->getChangelogFromFile($changelog_uri);
    }
public function postPackagesChangelog ( PackageChangelog $ request ) { $ changelog_uri = $ request -> input ( 'uri' ) ; $ changelog_body = $ request -> input ( 'body' ) ; $ changelog_tag = $ request -> input ( 'tag' ) ; if ( ! is_null ( $ changelog_body ) && ! is_null ( $ changelog_tag ) ) return $ this -> getChangelogFromApi ( $ changelog_uri , $ changelog_body , $ changelog_tag ) ; return $ this -> getChangelogFromFile ( $ changelog_uri ) ; }
Return the changelog based on provided parameters.

@return mixed|string
@throws \GuzzleHttp\Exception\GuzzleException
Return the changelog based on provided parameters .