src/Requests/Application/ProfileRequests.php
protected function uri($appId = null, $profileId = null, $clone = false)
    {
        if (is_null($appId)) {
            return '/applications/profiles/all';
        }

        if (is_null($profileId)) {
            return "/applications/{$appId}/profiles";
        }

        if (!$clone) {
            return "/applications/{$appId}/profiles/{$profileId}";
        }

        return "/applications/{$appId}/profiles/{$profileId}/clone";
    }
protected function uri($appId = null, $profileId = null, $clone = false)
    {
        if (is_null($appId)) {
            return '/applications/profiles/all';
        }

        if (is_null($profileId)) {
            return "/applications/{$appId}/profiles";
        }

        if (!$clone) {
            return "/applications/{$appId}/profiles/{$profileId}";
        }

        return "/applications/{$appId}/profiles/{$profileId}/clone";
    }
protected function uri ( $ appId = null , $ profileId = null , $ clone = false ) { if ( is_null ( $ appId ) ) { return '/applications/profiles/all' ; } if ( is_null ( $ profileId ) ) { return "/applications/{$appId}/profiles" ; } if ( ! $ clone ) { return "/applications/{$appId}/profiles/{$profileId}" ; } return "/applications/{$appId}/profiles/{$profileId}/clone" ; }
Build the URI for the requests

@param int $appId
@param int $profileId
@param bool $clone
@return string
Build the URI for the requests