Skip to content

[5.x] Token class changes#9964

Merged
jasonvarga merged 5 commits intomasterfrom
token-repository-contract
Apr 26, 2024
Merged

[5.x] Token class changes#9964
jasonvarga merged 5 commits intomasterfrom
token-repository-contract

Conversation

@jasonvarga
Copy link
Copy Markdown
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
@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