Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
e9bcbeac
Commit
e9bcbeac
authored
Apr 27, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change location of when $response->render() is called. Make memory cache storage array public.
parent
b0fd8032
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
memory.php
laravel/cache/drivers/memory.php
+1
-1
response.php
laravel/response.php
+16
-16
No files found.
laravel/cache/drivers/memory.php
View file @
e9bcbeac
...
@@ -7,7 +7,7 @@ class Memory extends Driver {
...
@@ -7,7 +7,7 @@ class Memory extends Driver {
*
*
* @var string
* @var string
*/
*/
p
rotected
$storage
=
array
();
p
ublic
$storage
=
array
();
/**
/**
* Determine if an item exists in the cache.
* Determine if an item exists in the cache.
...
...
laravel/response.php
View file @
e9bcbeac
...
@@ -174,11 +174,25 @@ class Response {
...
@@ -174,11 +174,25 @@ class Response {
$response
=
new
static
(
$response
);
$response
=
new
static
(
$response
);
}
}
$response
->
render
();
return
$response
;
return
$response
;
}
}
/**
* Send the headers and content of the response to the browser.
*
* @return void
*/
public
function
send
()
{
$this
->
render
();
$this
->
cookies
();
$this
->
foundation
->
prepare
(
Request
::
foundation
());
$this
->
foundation
->
send
();
}
/**
/**
* Convert the content of the Response to a string and return it.
* Convert the content of the Response to a string and return it.
*
*
...
@@ -206,20 +220,6 @@ class Response {
...
@@ -206,20 +220,6 @@ class Response {
return
$this
->
content
;
return
$this
->
content
;
}
}
/**
* Send the headers and content of the response to the browser.
*
* @return void
*/
public
function
send
()
{
$this
->
cookies
();
$this
->
foundation
->
prepare
(
Request
::
foundation
());
$this
->
foundation
->
send
();
}
/**
/**
* Send all of the response headers to the browser.
* Send all of the response headers to the browser.
*
*
...
...
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