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

$roleProfile variable is not present in user object #25

Closed
kbalajijan1 opened this issue Jan 24, 2017 · 1 comment
Closed

$roleProfile variable is not present in user object #25

kbalajijan1 opened this issue Jan 24, 2017 · 1 comment

Comments

@kbalajijan1
Copy link

As mentioned in readme.md, I updated User model with protected static $roleProfile = 'user'; but it's not present in the user object. If I use without static, the variable is present in user object.

Since the static variable is not working I get Class name must be a valid object or a string error. Laravel version is 5.3.29

Please advice

@ajmerainfo
Copy link
Collaborator

@kbalajijan1

Let me know do you still have same issue?

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

2 participants