-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0115e15
commit 03d2468
Showing
11 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->all() | ||
]]></content> | ||
<tabTrigger>Request::all</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Get all of the input and files for the request.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->allFiles() | ||
]]></content> | ||
<tabTrigger>Request::allFiles</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Get an array of all of the files on the request.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->except(${1:['key', 'otherKey']}) | ||
]]></content> | ||
<tabTrigger>Request::except</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Get all of the input except for a specified array of items.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->exists(${1:'key'}) | ||
]]></content> | ||
<tabTrigger>Request::exists</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Determine if the request contains a given input item key.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->file(${1:'key'}${2:, 'default'}) | ||
]]></content> | ||
<tabTrigger>Request::file</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Retrieve a file from the request.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->fingerprint() | ||
]]></content> | ||
<tabTrigger>Request::fingerprint</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Get a unique fingerprint for the request / route / IP address.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->has(${1:'key'}) | ||
]]></content> | ||
<tabTrigger>Request::has</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Determine if the request contains a non-empty value for an input item.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->has(${1:'key'}) | ||
]]></content> | ||
<tabTrigger>Request::has</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Determine if the uploaded data contains a file.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->input(${1:'key'}${2:, 'default'}) | ||
]]></content> | ||
<tabTrigger>Request::input</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Retrieve an input item from the request.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->old(${1:'key'}${2:, 'default'}) | ||
]]></content> | ||
<tabTrigger>Request::old</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Retrieve an old input item.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$request->only(${1:['key', 'otherKey']}) | ||
]]></content> | ||
<tabTrigger>Request::only</tabTrigger> | ||
<scope>source.php</scope> | ||
<description>Get a subset of the items from the input data.</description> | ||
</snippet> |