Skip to content

Commit

Permalink
fixed duplicate nameing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hassansin committed Aug 5, 2019
1 parent 1a2bcdf commit 7b6ba23
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/Metrics.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace ChartMogul;

use ChartMogul\Metrics;
use ChartMogul\Metrics as NSMetrics;
use ChartMogul\Http\ClientInterface;

/**
Expand All @@ -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);
}
}

0 comments on commit 7b6ba23

Please sign in to comment.