Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
f1feb467
Commit
f1feb467
authored
Apr 23, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added Input::merge method.
parent
bb506bb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
laravel/documentation/changes.md
+1
-0
laravel/input.php
+12
-0
No files found.
laravel/documentation/changes.md
View file @
f1feb467
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
-
Allow multiple views to be registered for a single composer.
-
Allow multiple views to be registered for a single composer.
-
Added
`Request::set_env`
method.
-
Added
`Request::set_env`
method.
-
`Schema::drop`
now accepts
`$connection`
as second parameter.
-
`Schema::drop`
now accepts
`$connection`
as second parameter.
-
Added
`Input::merge`
method.
<a
name=
"upgrade-3.2"
></a>
<a
name=
"upgrade-3.2"
></a>
## Upgrading From 3.1
## Upgrading From 3.1
...
...
laravel/input.php
View file @
f1feb467
...
@@ -228,4 +228,15 @@ class Input {
...
@@ -228,4 +228,15 @@ class Input {
Session
::
flash
(
Input
::
old_input
,
array
());
Session
::
flash
(
Input
::
old_input
,
array
());
}
}
/**
* Merge new input into the current request's input array.
*
* @param array $input
* @return void
*/
public
static
function
merge
(
array
$input
)
{
Request
::
foundation
()
->
request
->
replace
(
$input
);
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment