diff --git a/src/Metrics.php b/src/Metrics.php index 3000d06..809616d 100644 --- a/src/Metrics.php +++ b/src/Metrics.php @@ -2,7 +2,7 @@ namespace ChartMogul; -use ChartMogul\Metrics; +use ChartMogul\Metrics as NSMetrics; use ChartMogul\Http\ClientInterface; /** @@ -15,97 +15,97 @@ class Metrics * Retrieves all key metrics, for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\AllKeyMetrics + * @return NSMetrics\AllKeyMetrics */ public static function all(array $options = [], ClientInterface $client = null) { - return Metrics\AllKeyMetrics::all($options, $client); + return NSMetrics\AllKeyMetrics::all($options, $client); } /** * Retrieves the Average Revenue Per Account (ARPA), for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\ARPAs + * @return NSMetrics\ARPAs */ public static function arpa(array $options = [], ClientInterface $client = null) { - return Metrics\ARPAs::all($options, $client); + return NSMetrics\ARPAs::all($options, $client); } /** * Retrieves the Annualized Run Rate (ARR), for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\ARRs + * @return NSMetrics\ARRs */ public static function arr(array $options = [], ClientInterface $client = null) { - return Metrics\ARRs::all($options, $client); + return NSMetrics\ARRs::all($options, $client); } /** * Retrieves the Average Sale Price (ASP), for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\ASPs + * @return NSMetrics\ASPs */ public static function asp(array $options = [], ClientInterface $client = null) { - return Metrics\ASPs::all($options, $client); + return NSMetrics\ASPs::all($options, $client); } /** * Retrieves the Customer Churn Rate, for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\CustomerChurnRates + * @return NSMetrics\CustomerChurnRates */ public static function customerChurnRate(array $options = [], ClientInterface $client = null) { - return Metrics\CustomerChurnRates::all($options, $client); + return NSMetrics\CustomerChurnRates::all($options, $client); } /** * Retrieves the number of active customers, for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\CustomerCounts + * @return NSMetrics\CustomerCounts */ public static function customerCount(array $options = [], ClientInterface $client = null) { - return Metrics\CustomerCounts::all($options, $client); + return NSMetrics\CustomerCounts::all($options, $client); } /** * Retrieves the Monthly Recurring Revenue (MRR), for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\MRRs + * @return NSMetrics\MRRs */ public static function mrr(array $options = [], ClientInterface $client = null) { - return Metrics\MRRs::all($options, $client); + return NSMetrics\MRRs::all($options, $client); } /** * Retrieves the Customer Lifetime Value (LTV), for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\LTVs + * @return NSMetrics\LTVs */ public static function ltv(array $options = [], ClientInterface $client = null) { - return Metrics\LTVs::all($options, $client); + return NSMetrics\LTVs::all($options, $client); } /** * Retrieves the Net MRR Churn Rate, for the specified time period. * @param array|array $options * @param ClientInterface|null $client - * @return Metrics\MRRChurnRates + * @return NSMetrics\MRRChurnRates */ public static function mrrChurnRate(array $options = [], ClientInterface $client = null) { - return Metrics\MRRChurnRates::all($options, $client); + return NSMetrics\MRRChurnRates::all($options, $client); } }