-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLaravel-Session.xml
101 lines (101 loc) · 5.37 KB
/
Laravel-Session.xml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<templateSet group="Laravel-Session">
<template name="Session::put" value="Session::put('$KEY$', $VALUE$);$END$" description="Store an Item in the Session" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""key"" alwaysStopAt="true" />
<variable name="VALUE" expression="" defaultValue=""$value"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::push" value="Session::push('$KEY$', $VALUE$);$END$" description="Push a Value onto an Array Session Value" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""user.teams'" alwaysStopAt="true" />
<variable name="VALUE" expression="" defaultValue=""$value"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::get" value="Session::get('$KEY$'$DEFAULT$);$END$" description="Retrieve an Item from the Session or Default Value" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""key"" alwaysStopAt="true" />
<variable name="DEFAULT" expression="" defaultValue="", 'default'"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::all" value="Session::all();$END$" description="Retrieve All Data from the Session" toReformat="true" toShortenFQNames="true">
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::forget" value="Session::forget('$KEY$');$END$" description="Remove an Item from the Session" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""key"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::has" value="Session::has('$KEY$');$END$" description="Determin if an Item Exists in the Session" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""key"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::flush" value="Session::flush();$END$" description="Remove All Items from the Session" toReformat="true" toShortenFQNames="true">
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::regenerate" value="Session::regenerate();$END$" description="Regenerate the Session ID" toReformat="true" toShortenFQNames="true">
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::flash" value="Session::flash('$KEY$', $VALUE$);$END$" description="Flash an Item in the Session" toReformat="true" toShortenFQNames="true">
<variable name="KEY" expression="" defaultValue=""key"" alwaysStopAt="true" />
<variable name="VALUE" expression="" defaultValue=""$value"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::reflash" value="Session::reflash();$END$" description="Reflash the Current Flash Data" toReformat="true" toShortenFQNames="true">
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
<template name="Session::keep" value="Session::keep([$ARRAY$]);$END$" description="Reflash Only a Subset of Flash Data" toReformat="true" toShortenFQNames="true">
<variable name="ARRAY" expression="" defaultValue=""'username', 'email'"" alwaysStopAt="true" />
<context>
<option name="JSP" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="false" />
<option name="PHP String Literal" value="false" />
</context>
</template>
</templateSet>