forked from gerardroche/sublime-phpck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmagic_method.sublime-completions
27 lines (26 loc) · 1.22 KB
/
magic_method.sublime-completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
// scope:
//
// source.php constant.other
// blacklist:
// constant.other.class
// source.php support.function.magic
"scope": "source.php constant.other - constant.other.class, source.php support.function.magic",
"completions": [
{"trigger":"__call","contents":"__call(${1:name}, ${2:arguments})"},
{"trigger":"__callStatic","contents":"__callStatic(${1:name}, ${2:arguments})"},
{"trigger":"__clone","contents":"__clone()"},
{"trigger":"__construct","contents":"__construct($1)"},
{"trigger":"__debugInfo","contents":"__debugInfo()"},
{"trigger":"__destruct","contents":"__destruct()"},
{"trigger":"__get","contents":"__get(${1:name})"},
{"trigger":"__invoke","contents":"__invoke($1)"},
{"trigger":"__isset","contents":"__isset(${1:name})"},
{"trigger":"__set","contents":"__set(${1:name}, ${2:value})"},
{"trigger":"__set_state","contents":"__set_state(${1:(array) properties})"},
{"trigger":"__sleep","contents":"__sleep()"},
{"trigger":"__toString","contents":"__toString()"},
{"trigger":"__unset","contents":"__unset(${1:name})"},
{"trigger":"__wakeup","contents":"__wakeup()"}
]
}