From 34feae2d75cbf24ee6b12e24d3cb699af6f2f182 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Feb 2017 16:30:08 +0200 Subject: [PATCH] test google lib --- app/library/App/Bootstrap/RouteBootstrap.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index 9bfc87f..207ca2a 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -12,6 +12,8 @@ use Google_Service_AnalyticsReporting; class RouteBootstrap implements BootstrapInterface { + public $VIEW_ID = '123'; + public function run(Api $api, DiInterface $di, Config $config) { $api->get('/', function() use ($api) { @@ -52,11 +54,12 @@ class RouteBootstrap implements BootstrapInterface $client->setDeveloperKey($api_key); $analytics = new Google_Service_AnalyticsReporting($client); - $response = $this->getReport($analytics, '', ''); + + //$response = $this->getReport($analytics, '', ''); - $var_2 = var_dump($response); + $var_2 = var_dump($this->VIEW_ID); $msg = "testing fine"; -- libgit2 0.21.4