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

Consider breaking each blame-type into a separate trait #2

Closed
rmasters opened this issue Jul 10, 2013 · 0 comments
Closed

Consider breaking each blame-type into a separate trait #2

rmasters opened this issue Jul 10, 2013 · 0 comments
Assignees
Milestone

Comments

@rmasters
Copy link
Owner

So the idea would be to have:

class Post {
    use Culpa\CreatedBy;
    use Culpa\UpdatedBy;
}

Which would auto-register the hooks and methods for createdBy and updatedBy, rather than having them available anyway.

@ghost ghost assigned rmasters Jul 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant