src/Provider/Basecamp.php
public function getBasecampAccounts(AccessToken $token)
    {
        $response = $this->fetchUserDetails($token);
        $details = json_decode($response);
        return $details->accounts;
    }
public function getBasecampAccounts(AccessToken $token)
    {
        $response = $this->fetchUserDetails($token);
        $details = json_decode($response);
        return $details->accounts;
    }
public function getBasecampAccounts ( AccessToken $ token ) { $ response = $ this -> fetchUserDetails ( $ token ) ; $ details = json_decode ( $ response ) ; return $ details -> accounts ; }
Get basecamp accounts

@return array
Get basecamp accounts