src/Client.php
public function setAccessToken($data) {
        (true === is_object($data)) ? $token = $data->access_token : $token = $data;
        $this->_accesstoken = $token;
    }
public function setAccessToken($data) {
        (true === is_object($data)) ? $token = $data->access_token : $token = $data;
        $this->_accesstoken = $token;
    }
public function setAccessToken ( $ data ) { ( true === is_object ( $ data ) ) ? $ token = $ data -> access_token : $ token = $ data ; $ this -> _accesstoken = $ token ; }
Access Token Setter

@param object|string $data
@return void
Access Token Setter