[PR #239] [CLOSED] introduce interfaces #282

Closed
opened 2026-02-27 19:26:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/239
Author: @julienbornstein
Created: 11/23/2021
Status: Closed

Base: mainHead: feature/introduce-interfaces


📝 Commits (1)

📊 Changes

6 files changed (+1237 additions, -4 deletions)

View changed files

📝 src/Request.php (+1 -1)
src/RequestInterface.php (+84 -0)
📝 src/Session.php (+2 -2)
src/SessionInterface.php (+167 -0)
📝 src/SpotifyWebAPI.php (+1 -1)
src/SpotifyWebAPIInterface.php (+982 -0)

📄 Description

Introduce interfaces make it easy to test or decorate classes, and follows Dependency Inversion Principle from SOLID.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jwilsson/spotify-web-api-php/pull/239 **Author:** [@julienbornstein](https://github.com/julienbornstein) **Created:** 11/23/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/introduce-interfaces` --- ### 📝 Commits (1) - [`70cf135`](https://github.com/jwilsson/spotify-web-api-php/commit/70cf135844d39e8f48f55cb9c8baa44d081dcd25) introduce interfaces ### 📊 Changes **6 files changed** (+1237 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/Request.php` (+1 -1) ➕ `src/RequestInterface.php` (+84 -0) 📝 `src/Session.php` (+2 -2) ➕ `src/SessionInterface.php` (+167 -0) 📝 `src/SpotifyWebAPI.php` (+1 -1) ➕ `src/SpotifyWebAPIInterface.php` (+982 -0) </details> ### 📄 Description Introduce interfaces make it easy to test or decorate classes, and follows Dependency Inversion Principle from SOLID. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:26:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#282
No description provided.