<?php

 class Resource
 {

     protected $user  = '';
     protected $token = '';

     public function __construct($u = null, $t = null)
     {
         $this->user  = $u;
         $this->token = $t;
     }

 }

?>