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

[Bug]: Observer not creating the methods #1108

Open
ivnlabs opened this issue Nov 23, 2024 · 3 comments
Open

[Bug]: Observer not creating the methods #1108

ivnlabs opened this issue Nov 23, 2024 · 3 comments

Comments

@ivnlabs
Copy link

ivnlabs commented Nov 23, 2024

Bug description

I am creating an observer and making the checks on the methods I want, but the methods are not created, The file arrives with the class but not with the methods that I checked at first, so it would be great to make this work because currently I have to copy paste the methods into the observers and I would prefer to this was done by the machine and you program, the rest WORKING AS A CHARM!!!

Capture d’écran, le 2024-11-23 à 12 17 48

thank you very much

Plugin version

8.4 version

Operating system

MacOS

Steps to reproduce

just create an observer and see if the methods are initiated

Relevant log output

No response

@adelf
Copy link
Member

adelf commented Nov 23, 2024

They are created only if Observer class contains Eloquent model name

@valentinceaprazaru
Copy link

@adelf can you please give more details on how to create the Observer functions?

@adelf
Copy link
Member

adelf commented Nov 26, 2024

It generates all needed methods with the Eloquent model name in this field.

image

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

3 participants