diff --git a/snippets/Request/Request-all.sublime-snippet b/snippets/Request/Request-all.sublime-snippet new file mode 100644 index 0000000..8c78ba1 --- /dev/null +++ b/snippets/Request/Request-all.sublime-snippet @@ -0,0 +1,8 @@ + + all() +]]> + Request::all + source.php + Get all of the input and files for the request. + diff --git a/snippets/Request/Request-allFiles.sublime-snippet b/snippets/Request/Request-allFiles.sublime-snippet new file mode 100644 index 0000000..e9862a2 --- /dev/null +++ b/snippets/Request/Request-allFiles.sublime-snippet @@ -0,0 +1,8 @@ + + allFiles() +]]> + Request::allFiles + source.php + Get an array of all of the files on the request. + diff --git a/snippets/Request/Request-except.sublime-snippet b/snippets/Request/Request-except.sublime-snippet new file mode 100644 index 0000000..d3ba938 --- /dev/null +++ b/snippets/Request/Request-except.sublime-snippet @@ -0,0 +1,8 @@ + + except(${1:['key', 'otherKey']}) +]]> + Request::except + source.php + Get all of the input except for a specified array of items. + diff --git a/snippets/Request/Request-exists.sublime-snippet b/snippets/Request/Request-exists.sublime-snippet new file mode 100644 index 0000000..0dc7e2e --- /dev/null +++ b/snippets/Request/Request-exists.sublime-snippet @@ -0,0 +1,8 @@ + + exists(${1:'key'}) +]]> + Request::exists + source.php + Determine if the request contains a given input item key. + diff --git a/snippets/Request/Request-file.sublime-snippet b/snippets/Request/Request-file.sublime-snippet new file mode 100644 index 0000000..fb89c35 --- /dev/null +++ b/snippets/Request/Request-file.sublime-snippet @@ -0,0 +1,8 @@ + + file(${1:'key'}${2:, 'default'}) +]]> + Request::file + source.php + Retrieve a file from the request. + diff --git a/snippets/Request/Request-fingerprint.sublime-snippet b/snippets/Request/Request-fingerprint.sublime-snippet new file mode 100644 index 0000000..04f15df --- /dev/null +++ b/snippets/Request/Request-fingerprint.sublime-snippet @@ -0,0 +1,8 @@ + + fingerprint() +]]> + Request::fingerprint + source.php + Get a unique fingerprint for the request / route / IP address. + diff --git a/snippets/Request/Request-has.sublime-snippet b/snippets/Request/Request-has.sublime-snippet new file mode 100644 index 0000000..b495969 --- /dev/null +++ b/snippets/Request/Request-has.sublime-snippet @@ -0,0 +1,8 @@ + + has(${1:'key'}) +]]> + Request::has + source.php + Determine if the request contains a non-empty value for an input item. + diff --git a/snippets/Request/Request-hasFile.sublime-snippet b/snippets/Request/Request-hasFile.sublime-snippet new file mode 100644 index 0000000..f3ebfc6 --- /dev/null +++ b/snippets/Request/Request-hasFile.sublime-snippet @@ -0,0 +1,8 @@ + + has(${1:'key'}) +]]> + Request::has + source.php + Determine if the uploaded data contains a file. + diff --git a/snippets/Request/Request-input.sublime-snippet b/snippets/Request/Request-input.sublime-snippet new file mode 100644 index 0000000..38a776d --- /dev/null +++ b/snippets/Request/Request-input.sublime-snippet @@ -0,0 +1,8 @@ + + input(${1:'key'}${2:, 'default'}) +]]> + Request::input + source.php + Retrieve an input item from the request. + diff --git a/snippets/Request/Request-old.sublime-snippet b/snippets/Request/Request-old.sublime-snippet new file mode 100644 index 0000000..bddf2a5 --- /dev/null +++ b/snippets/Request/Request-old.sublime-snippet @@ -0,0 +1,8 @@ + + old(${1:'key'}${2:, 'default'}) +]]> + Request::old + source.php + Retrieve an old input item. + diff --git a/snippets/Request/Request-only.sublime-snippet b/snippets/Request/Request-only.sublime-snippet new file mode 100644 index 0000000..f62469c --- /dev/null +++ b/snippets/Request/Request-only.sublime-snippet @@ -0,0 +1,8 @@ + + only(${1:['key', 'otherKey']}) +]]> + Request::only + source.php + Get a subset of the items from the input data. +