private function setValue($key, $value)
    {
        $this->$key = $value;

        if ($key == 'expires_in') $this->setExpiration($value);
    }
private function setValue($key, $value)
    {
        $this->$key = $value;

        if ($key == 'expires_in') $this->setExpiration($value);
    }
private function setValue ( $ key , $ value ) { $ this -> $ key = $ value ; if ( $ key == 'expires_in' ) $ this -> setExpiration ( $ value ) ; }
Set a single attribute value
@param $key
@param $value
Set a single attribute value