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

Call to undefined method App\\Model::geofence() #25

Open
thihakyaw opened this issue Mar 30, 2020 · 3 comments
Open

Call to undefined method App\\Model::geofence() #25

thihakyaw opened this issue Mar 30, 2020 · 3 comments

Comments

@thihakyaw
Copy link

I follow the steps what you said in read me.

I am not sure about it is a right way I did though. Is there any solution? Can I get examples?
I am using it on Laravel 7 with the column you suggested.
image

@GhadeerHamed
Copy link

Geographical is a Trait
Use it in the model like this

<?php
use Malhal\Geographical\Geographical;

class User extends Authenticatable 
{
    use  Geographical;
....

@AlunR
Copy link

AlunR commented May 24, 2020

Can I suggest you add the line

use Malhal\Geographical\Geographical;

to your documentation page?

@malhal
Copy link
Owner

malhal commented May 24, 2020

Thanks will do and by the way you can edit that page yourself and it does a pull request which I accept.

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