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

cant use metable with other packages #14

Open
mouhsinelonly opened this issue Nov 13, 2015 · 4 comments
Open

cant use metable with other packages #14

mouhsinelonly opened this issue Nov 13, 2015 · 4 comments

Comments

@mouhsinelonly
Copy link

when trying to use metable with laravel-stapler package i get a collision of method getattribute and i have to disable laravel-meta or laravel-stapler in order for one of them to work.

@kodeine
Copy link
Owner

kodeine commented Nov 13, 2015

@mouhsinelonly
I will take a look and let you know.

@vinaykevadia
Copy link

The same problem with package Dimsav\Translatable, method getAttribute is getting colliding with the method from other package

@kodeine
Copy link
Owner

kodeine commented Dec 9, 2018

@vinaykevadia if you can submit a PR for a fix please feel free to do so.

@stephandesouza
Copy link
Contributor

This is not a problem with Metable itself, but a Trait issue and needs a manual operation to rewrite getAttribute, please see: https://stackoverflow.com/a/25064632/405217

For more information: https://www.php.net/manual/en/language.oop5.traits.php#language.oop5.traits.conflict

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

No branches or pull requests

4 participants