beamer180
b4754e2c05
Model Events Pass Model To Event Constructor ( #5221 )
2019-06-06 08:11:32 -05:00
Taylor Otwell
b2990dbc63
wip
2018-08-25 08:42:04 -05:00
Shreyansh Panchal
89ef0ec3d4
Saved & Updated method will not fire in case of mass update
...
We have this warning (Saved & Updated method will not fire in case of mass update) in updates section.
But its a Event related note/warning, I think it should (also) be in Events section so its hard to miss it, for someone whose looking for reference.
2018-08-24 11:41:54 +05:30
Taylor Otwell
018ad3d2ed
formattinG
2018-07-02 09:39:40 -05:00
Taylor Otwell
a53f3756f8
Merge branch 'observer-command' of https://github.com/eemrekaya/docs into eemrekaya-observer-command
2018-07-02 09:37:53 -05:00
Taylor Otwell
590fd5423a
wording
2018-06-30 15:23:47 -05:00
Emre Kaya
3b6aba979b
add make:observer command to eloquent doc
2018-06-30 19:27:26 +03:00
Harish Toshniwal
23330f52e0
add docs for the is() method
2018-06-28 01:22:05 +05:30
Mulia Arifandi Nasution
55bd320c73
Change User to Flight
...
This is also helping beginners.
When they try to run `php artisan make:model User`,
that will fails, because User model already exists.
Signed-off-by: Mulia Arifandi Nasution <mul14.net@gmail.com>
2018-04-12 22:46:10 +07:00
Taylor Otwell
d5413bd26b
Update eloquent.md
2018-02-11 08:37:12 -06:00
Laurence Ioannou
11584ad914
Update eloquent.md
2018-02-11 10:34:17 +09:00
Jim Fisher
e73c40f0de
Don't say simply
2018-01-23 17:48:13 +00:00
Amadeusz Annissimo
ba58e102e2
wording
...
When calling a scope method using `scope` prefix the `BadMethodCallException` is thrown.
*do not need to* implies that `scope` prefix is optional when in reality it's not.
2018-01-05 09:14:30 +01:00
Gabriel Caruso
d3719f01f1
Remove extra lines
2017-12-31 00:28:41 -02:00
Taylor Otwell
724c20e1cd
formatting
2017-10-24 10:49:59 -05:00
Michael Dyrynda
fb423a0a2f
Add clarification around `firstOrNew` / `firstOrCreate` behaviour and when to use `updateOrCreate`
2017-10-25 00:42:21 +10:30
Ahmed Fathy
0069243791
Add full namespace in phpdoc
2017-10-21 23:53:28 +02:00
Taylor Otwell
4b1b8b3576
add note
2017-10-19 07:42:29 -05:00
Kushal
7c6f10a690
Add protected to $primarykey key
2017-09-25 12:19:51 +05:30
Taylor Otwell
02945b57a6
formatting
2017-09-03 10:22:57 -05:00
michael
416d313475
Add a brief description of the 'retrieved' event
2017-09-02 22:29:13 +02:00
michael
483e6e04f5
Add 'retrieved' to the list of observable events
...
Following the CRUD convention, it is added between 'created' and 'updating'.
2017-09-02 22:28:41 +02:00
Taylor Otwell
b20eeecc92
fix conflicts
2017-07-16 20:29:04 -05:00
Taylor Otwell
fb42b91f58
wording
2017-07-12 20:41:25 -05:00
xxRockOnxx
524527dee5
Tip: Global scope and addSelect
2017-07-12 21:43:31 +08:00
Taylor Otwell
0995fbd26d
Merge branch '5.4'
2017-05-09 07:51:07 -05:00
Terje Otto Tobiassen
b435ed1065
Update eloquent.md
...
Changed "and" to "or".
Using first in combination with find will return first row of repository, regardless of primary key given in find.
2017-05-09 10:35:58 +02:00
Taylor Otwell
9c732568aa
fix conflicts
2017-04-15 11:40:17 -05:00
Taylor Otwell
bb63c6c72c
adjust wording
2017-04-06 09:03:57 -05:00
William Mcmurray
d5e7e9e4e0
Clarify 2nd argument of firstOrNew & firstOrCreate
2017-04-05 11:06:33 -04:00
Taylor Otwell
0ac1979128
Update eloquent.md
2017-03-05 10:32:38 -06:00
ARCANEDEV
b087e72884
Update eloquent.md
2017-03-05 15:26:57 +00:00
Taylor Otwell
6d6e79f07a
document eloquent event map
2017-01-16 10:37:51 -06:00
Taylor Otwell
78102d9a66
wording
2016-12-26 08:35:40 -06:00
❖Vitaliy Ryepnoy
b8b9af6645
Add mention of fill method in mass assignment
...
The fill method is missing from the docs, but it is actually there and works.
2016-12-26 17:13:20 +10:00
Taylor Otwell
6d003463b6
remove line that doesnt make sense
2016-11-30 11:20:19 -06:00
Sureshkumar Selvanayagam
3797f3e8a7
Wrong method name fixed
...
Instead firstOrCreate, newOrCreate is documented and there is no method "newOrCreate".
2016-11-28 18:29:11 +05:30
Nico
20dbce7144
style fixes and PSR-2
2016-11-11 16:35:36 +01:00
Taylor Otwell
f56048794b
formatting
2016-11-01 09:57:45 -05:00
Arjan Weurding
76b9f7faee
Add information on how to edit created_at and updated_at columns
2016-11-01 14:04:29 +01:00
Taylor Otwell
bedc8167a5
formatting
2016-10-25 15:29:30 -05:00
J.T. Grimes
ad4d1285a3
Document the existence of updateOrCreate and provide an example
2016-10-25 09:58:28 -07:00
Jordan Hoff
747fbc27ed
Fixes docblocks for local query scope examples
2016-10-19 14:26:39 -05:00
shadoWalker89
7ff83d87f4
Remove unnecessary retun
...
The @return in the docblock is void, but the code is returning the $builder.
I also checked the source code and it's not using the return value of apply()
2016-10-04 11:00:23 +02:00
Taylor Otwell
cc2f5a3b61
tweak wording
2016-09-06 21:05:04 -05:00
David Allen
e9f9d9ec47
fixed some language
2016-09-06 14:26:42 -04:00
David Allen
6c508ea301
added note about missing mass deletes with events
2016-09-06 14:23:11 -04:00
Andrew Millard
dc5c1675c3
Fixed grammatical error in wording
2016-09-01 16:11:55 +10:00
Taylor Otwell
affbdbef30
rewrite wording
2016-08-18 08:44:14 -05:00
Jonathan Garbee
a3fbe474a6
Add observer docs for eloquent
2016-08-17 13:37:07 -04:00