Esempio n. 1
0
 protected function fetchCookie()
 {
     //$this->cookie = array( 'token' => null, 'date' => date('Y-m-d'), 'events' => array( 1 => array( 'type' => 'VISIT' ) ) );
     $this->cookie = json_decode($this->app->getCookie(self::COOKIE_NAME));
     if (empty($this->cookie)) {
         throw new WikiaException('UAD Cookie not found');
     }
 }