Skip to content

Commit 89fc860

Browse files
committed
add methods to policy stub
1 parent 8e2d32c commit 89fc860

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/Illuminate/Foundation/Console/stubs/policy.stub

+24
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,28 @@ class DummyClass
5656
{
5757
//
5858
}
59+
60+
/**
61+
* Determine whether the user can restore the DocDummyModel.
62+
*
63+
* @param \NamespacedDummyUserModel $user
64+
* @param \NamespacedDummyModel $dummyModel
65+
* @return mixed
66+
*/
67+
public function restore(DummyUser $user, DummyModel $dummyModel)
68+
{
69+
//
70+
}
71+
72+
/**
73+
* Determine whether the user can permanently delete the DocDummyModel.
74+
*
75+
* @param \NamespacedDummyUserModel $user
76+
* @param \NamespacedDummyModel $dummyModel
77+
* @return mixed
78+
*/
79+
public function forceDelete(DummyUser $user, DummyModel $dummyModel)
80+
{
81+
//
82+
}
5983
}

0 commit comments

Comments
 (0)