aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snips/ft/php.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/snips/ft/php.lua')
-rw-r--r--lua/alpha/snips/ft/php.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/alpha/snips/ft/php.lua b/lua/alpha/snips/ft/php.lua
index b930cb6..72936d8 100644
--- a/lua/alpha/snips/ft/php.lua
+++ b/lua/alpha/snips/ft/php.lua
@@ -94,6 +94,14 @@ M.op = fmt(
}
)
+M.iop = fmt(
+ [[$this->{} = $this->prophesize({}::class);]],
+ {
+ i(1, ""),
+ i(2, ""),
+ }
+)
+
M.arg = fmt([[{} ${}]], {
i(1, "Type"),
d(2, var_name, { 1 }),