| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class AnalyticsVariable |
||
| 14 | { |
||
| 15 | // Public Methods |
||
| 16 | // ========================================================================= |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Returns a ReportRequestCriteria model that can be sent to request Google Analytics' API. |
||
| 20 | * |
||
| 21 | * @param array $attributes |
||
| 22 | * |
||
| 23 | * @return ReportRequestCriteria |
||
| 24 | */ |
||
| 25 | public function api($attributes = null) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns the Analytics tracking object. |
||
| 32 | * |
||
| 33 | * @param bool $isSsl |
||
| 34 | * @param bool $isDisabled |
||
| 35 | * @param array $options |
||
| 36 | * |
||
| 37 | * @return \TheIconic\Tracking\GoogleAnalytics\Analytics |
||
| 38 | * @throws \yii\base\InvalidConfigException |
||
| 39 | */ |
||
| 40 | public function tracking($isSsl = false, $isDisabled = false, array $options = []) |
||
| 45 |