Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Token class changes #9964

Merged
merged 5 commits into from
Apr 26, 2024
Merged

[5.x] Token class changes #9964

merged 5 commits into from
Apr 26, 2024

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Apr 26, 2024

Adds a contract for TokenRepository so it can be more easily overridden like other classes.

Organized the abstract classes better so that file specific logic lives in their own files.
The diff is bigger than it looks. It's mostly just moving code around.

This is a breaking change if you were overriding the TokenRepository or Token classes yourself already.

References: statamic/eloquent-driver#277

@jasonvarga jasonvarga changed the title [5.x] Token repository contract [5.x] Token changes Apr 26, 2024
@jasonvarga jasonvarga changed the title [5.x] Token changes [5.x] Token class changes Apr 26, 2024
@jasonvarga jasonvarga merged commit 6b095a6 into master Apr 26, 2024
34 checks passed
@jasonvarga jasonvarga deleted the token-repository-contract branch April 26, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant