Skip to content

Commit

Permalink
Created Client
Browse files Browse the repository at this point in the history
  • Loading branch information
CommandString committed May 24, 2023
1 parent 5370b57 commit 0c03513
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Tnapf\Spotify;

use Tnapf\Spotify\Rest\Albums;
use Tnapf\Spotify\Rest\Tracks;

class Client
{
public readonly Tracks $tracks;
public readonly Albums $albums;

public function __construct(public readonly Http $http)
{
$this->tracks = new Tracks($this->http);
$this->albums = new Albums($this->http);
}
}

0 comments on commit 0c03513

Please sign in to comment.