-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Entities errors #1727
Comments
and the complete $_options don't seems to work.
|
Please show all relevant code to show how we can replicate it working without going through an entire tutorial. |
here is my complete 1st REST test *** Controller/Users.php ***
*** Models/UserModel.php ***
*** Entities/User.php ***
*** Database/Migrations/Add_Users.php ***
*** Database/Seeds/UsersSeeder.php ***
|
About this thing, cast to \CodeIgniter\I18n\Time Object is ok. add code to show() method of Controller/Users.php file. this returns a string that displays the difference between the times in a human readable format that is geared towards being easily understood. |
@bangbangda Thanks for checking that out and providing fixes. I've updated the docs to reflect. |
Update entity docs for current framework state. Fixes #1727
name: Bug report
about: Help us improve the framework by reporting bugs!
Describe the bug
Entities Getter & Setter not set automatically
CodeIgniter 4 version
alpha-5
Affected module(s)
Model / Entities
Expected behavior, and steps to reproduce if appropriate
i'd folow this example : https://codeigniter4.github.io/CodeIgniter4/models/entities.html#handling-business-logic.
2 things :
see screenshot
cheers :)
Context
The text was updated successfully, but these errors were encountered: