This repository was archived by the owner on Dec 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 237237 " protected \\ $appends = ['$0'];"
238238 ],
239239 "description" : " Appends: The accessors to append to the model's array form."
240+ },
241+ "Laravel Model: Touches" : {
242+ "prefix" : " Model::tc" ,
243+ "body" : [
244+ " /**" ,
245+ " * The relationships that should be touched on save." ,
246+ " *" ,
247+ " * @var array" ,
248+ " */" ,
249+ " protected $touches = [$0];"
250+ ],
251+ "description" : " Touches: The relationships that should be touched on save."
252+ },
253+ "Laravel Model: Incrementing" : {
254+ "prefix" : " Model::i" ,
255+ "body" : [
256+ " /**" ,
257+ " * Indicates if the IDs are auto-incrementing." ,
258+ " *" ,
259+ " * @var bool" ,
260+ " */" ,
261+ " protected $incrementing = ${1:false};"
262+ ],
263+ "description" : " Incrementing: Indicates if the IDs are auto-incrementing."
264+ },
265+ "Laravel Model: KeyType" : {
266+ "prefix" : " Model::kt" ,
267+ "body" : [
268+ " /**" ,
269+ " * The \" type\" of the auto-incrementing ID." ,
270+ " *" ,
271+ " * @var string" ,
272+ " */" ,
273+ " protected $keyType = ${1:'int'};"
274+ ],
275+ "description" : " KeyType: The \" type\" of the auto-incrementing ID."
276+ },
277+ "Laravel Model: PerPage" : {
278+ "prefix" : " Model::pp" ,
279+ "body" : [
280+ " /**" ,
281+ " * The number of models to return for pagination." ,
282+ " *" ,
283+ " * @var int" ,
284+ " */" ,
285+ " protected $perPage = $0;"
286+ ],
287+ "description" : " PerPage: The number of models to return for pagination."
240288 }
289+
241290}
You can’t perform that action at this time.
0 commit comments