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
7dae4827
Commit
7dae4827
authored
Aug 10, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into staging
parents
d667a15e
343d1327
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
53 additions
and
92 deletions
+53
-92
application.php
application/config/application.php
+0
-13
index.blade.php
application/views/home/index.blade.php
+1
-1
blade.php
laravel/blade.php
+4
-3
driver.php
laravel/cache/drivers/driver.php
+1
-0
memcached.php
laravel/cache/drivers/memcached.php
+1
-0
sectionable.php
laravel/cache/drivers/sectionable.php
+1
-0
help.php
laravel/cli/tasks/help.php
+0
-1
runner.php
laravel/cli/tasks/test/runner.php
+1
-0
model.php
laravel/database/eloquent/model.php
+1
-0
belongs_to.php
laravel/database/eloquent/relationships/belongs_to.php
+3
-2
has_many.php
laravel/database/eloquent/relationships/has_many.php
+3
-2
has_many_and_belongs_to.php
...tabase/eloquent/relationships/has_many_and_belongs_to.php
+7
-4
has_one.php
laravel/database/eloquent/relationships/has_one.php
+3
-2
query.php
laravel/database/query.php
+1
-0
schema.php
laravel/database/schema.php
+1
-1
grammar.php
laravel/database/schema/grammars/grammar.php
+2
-2
mysql.php
laravel/database/schema/grammars/mysql.php
+1
-1
postgres.php
laravel/database/schema/grammars/postgres.php
+1
-1
sqlserver.php
laravel/database/schema/grammars/sqlserver.php
+1
-1
table.php
laravel/database/schema/table.php
+1
-0
changes.md
laravel/documentation/changes.md
+1
-1
event.php
laravel/event.php
+1
-1
form.php
laravel/form.php
+1
-1
helpers.php
laravel/helpers.php
+1
-1
html.php
laravel/html.php
+1
-1
ioc.php
laravel/ioc.php
+1
-0
laravel.php
laravel/laravel.php
+2
-40
log.php
laravel/log.php
+2
-1
pluralizer.php
laravel/pluralizer.php
+1
-0
profiler.php
laravel/profiling/profiler.php
+2
-0
redirect.php
laravel/redirect.php
+1
-1
request.php
laravel/request.php
+1
-0
router.php
laravel/routing/router.php
+1
-1
database.php
laravel/session/drivers/database.php
+1
-1
url.php
laravel/url.php
+0
-8
validator.php
laravel/validator.php
+1
-0
view.php
laravel/view.php
+1
-1
No files found.
application/config/application.php
View file @
7dae4827
...
@@ -94,19 +94,6 @@ return array(
...
@@ -94,19 +94,6 @@ return array(
'language'
=>
'en'
,
'language'
=>
'en'
,
/*
|--------------------------------------------------------------------------
| Supported Languages
|--------------------------------------------------------------------------
|
| These languages may also be supported by your application. If a request
| enters your application with a URI beginning with one of these values
| the default language will automatically be set to that language.
|
*/
'languages'
=>
array
(),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| SSL Link Generation
| SSL Link Generation
...
...
application/views/home/index.blade.php
View file @
7dae4827
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<p>
And the view sitting before you can be found at:
</p>
<p>
And the view sitting before you can be found at:
</p>
<pre>
{{ path('app') }}views/home/index.php
</pre>
<pre>
{{ path('app') }}views/home/index.
blade.
php
</pre>
<h2>
Grow in knowledge.
</h2>
<h2>
Grow in knowledge.
</h2>
...
...
laravel/blade.php
View file @
7dae4827
...
@@ -95,7 +95,6 @@ class Blade {
...
@@ -95,7 +95,6 @@ class Blade {
*
*
* @param string $view
* @param string $view
* @param string $path
* @param string $path
* @param string $compiled
* @return bool
* @return bool
*/
*/
public
static
function
expired
(
$view
,
$path
)
public
static
function
expired
(
$view
,
$path
)
...
@@ -106,7 +105,7 @@ class Blade {
...
@@ -106,7 +105,7 @@ class Blade {
/**
/**
* Compiles the specified file containing Blade pseudo-code into valid PHP.
* Compiles the specified file containing Blade pseudo-code into valid PHP.
*
*
* @param string $
path
* @param string $
view
* @return string
* @return string
*/
*/
public
static
function
compile
(
$view
)
public
static
function
compile
(
$view
)
...
@@ -168,6 +167,7 @@ class Blade {
...
@@ -168,6 +167,7 @@ class Blade {
* Extract a variable value out of a Blade expression.
* Extract a variable value out of a Blade expression.
*
*
* @param string $value
* @param string $value
* @param string $expression
* @return string
* @return string
*/
*/
protected
static
function
extract
(
$value
,
$expression
)
protected
static
function
extract
(
$value
,
$expression
)
...
@@ -403,6 +403,7 @@ class Blade {
...
@@ -403,6 +403,7 @@ class Blade {
/**
/**
* Rewrites Blade yield section statements into valid PHP.
* Rewrites Blade yield section statements into valid PHP.
*
*
* @param string $value
* @return string
* @return string
*/
*/
protected
static
function
compile_yield_sections
(
$value
)
protected
static
function
compile_yield_sections
(
$value
)
...
@@ -468,7 +469,7 @@ class Blade {
...
@@ -468,7 +469,7 @@ class Blade {
/**
/**
* Get the fully qualified path for a compiled view.
* Get the fully qualified path for a compiled view.
*
*
* @param string $
view
* @param string $
path
* @return string
* @return string
*/
*/
public
static
function
compiled
(
$path
)
public
static
function
compiled
(
$path
)
...
...
laravel/cache/drivers/driver.php
View file @
7dae4827
...
@@ -67,6 +67,7 @@ abstract class Driver {
...
@@ -67,6 +67,7 @@ abstract class Driver {
* @param string $key
* @param string $key
* @param mixed $default
* @param mixed $default
* @param int $minutes
* @param int $minutes
* @param string $function
* @return mixed
* @return mixed
*/
*/
public
function
remember
(
$key
,
$default
,
$minutes
,
$function
=
'put'
)
public
function
remember
(
$key
,
$default
,
$minutes
,
$function
=
'put'
)
...
...
laravel/cache/drivers/memcached.php
View file @
7dae4827
...
@@ -20,6 +20,7 @@ class Memcached extends Sectionable {
...
@@ -20,6 +20,7 @@ class Memcached extends Sectionable {
* Create a new Memcached cache driver instance.
* Create a new Memcached cache driver instance.
*
*
* @param Memcached $memcache
* @param Memcached $memcache
* @param string $key
* @return void
* @return void
*/
*/
public
function
__construct
(
\Memcached
$memcache
,
$key
)
public
function
__construct
(
\Memcached
$memcache
,
$key
)
...
...
laravel/cache/drivers/sectionable.php
View file @
7dae4827
...
@@ -63,6 +63,7 @@ abstract class Sectionable extends Driver {
...
@@ -63,6 +63,7 @@ abstract class Sectionable extends Driver {
* @param string $key
* @param string $key
* @param mixed $default
* @param mixed $default
* @param int $minutes
* @param int $minutes
* @param string $function
* @return mixed
* @return mixed
*/
*/
public
function
remember_in_section
(
$section
,
$key
,
$default
,
$minutes
,
$function
=
'put'
)
public
function
remember_in_section
(
$section
,
$key
,
$default
,
$minutes
,
$function
=
'put'
)
...
...
laravel/cli/tasks/help.php
View file @
7dae4827
...
@@ -8,7 +8,6 @@ class Help extends Task {
...
@@ -8,7 +8,6 @@ class Help extends Task {
/**
/**
* List available artisan commands.
* List available artisan commands.
*
*
* @param array $arguments
* @return void
* @return void
*/
*/
public
function
commands
()
public
function
commands
()
...
...
laravel/cli/tasks/test/runner.php
View file @
7dae4827
...
@@ -10,6 +10,7 @@ class Runner extends Task {
...
@@ -10,6 +10,7 @@ class Runner extends Task {
/**
/**
* Run all of the unit tests for the application.
* Run all of the unit tests for the application.
*
*
* @param array $bundles
* @return void
* @return void
*/
*/
public
function
run
(
$bundles
=
array
())
public
function
run
(
$bundles
=
array
())
...
...
laravel/database/eloquent/model.php
View file @
7dae4827
...
@@ -567,6 +567,7 @@ abstract class Model {
...
@@ -567,6 +567,7 @@ abstract class Model {
* Get a given attribute from the model.
* Get a given attribute from the model.
*
*
* @param string $key
* @param string $key
* @return mixed
*/
*/
public
function
get_attribute
(
$key
)
public
function
get_attribute
(
$key
)
{
{
...
...
laravel/database/eloquent/relationships/belongs_to.php
View file @
7dae4827
...
@@ -79,8 +79,9 @@ class Belongs_To extends Relationship {
...
@@ -79,8 +79,9 @@ class Belongs_To extends Relationship {
/**
/**
* Match eagerly loaded child models to their parent models.
* Match eagerly loaded child models to their parent models.
*
*
* @param array $children
* @param string $relationship
* @param array $parents
* @param array $children
* @param array $parents
* @return void
* @return void
*/
*/
public
function
match
(
$relationship
,
&
$children
,
$parents
)
public
function
match
(
$relationship
,
&
$children
,
$parents
)
...
...
laravel/database/eloquent/relationships/has_many.php
View file @
7dae4827
...
@@ -83,8 +83,9 @@ class Has_Many extends Has_One_Or_Many {
...
@@ -83,8 +83,9 @@ class Has_Many extends Has_One_Or_Many {
/**
/**
* Match eagerly loaded child models to their parent models.
* Match eagerly loaded child models to their parent models.
*
*
* @param array $parents
* @param string $relationship
* @param array $children
* @param array $parents
* @param array $children
* @return void
* @return void
*/
*/
public
function
match
(
$relationship
,
&
$parents
,
$children
)
public
function
match
(
$relationship
,
&
$parents
,
$children
)
...
...
laravel/database/eloquent/relationships/has_many_and_belongs_to.php
View file @
7dae4827
...
@@ -61,6 +61,8 @@ class Has_Many_And_Belongs_To extends Relationship {
...
@@ -61,6 +61,8 @@ class Has_Many_And_Belongs_To extends Relationship {
*
*
* By default, the name is the models sorted and joined with underscores.
* By default, the name is the models sorted and joined with underscores.
*
*
* @param Model $model
* @param string $associated
* @return string
* @return string
*/
*/
protected
function
joining
(
$model
,
$associated
)
protected
function
joining
(
$model
,
$associated
)
...
@@ -86,7 +88,7 @@ class Has_Many_And_Belongs_To extends Relationship {
...
@@ -86,7 +88,7 @@ class Has_Many_And_Belongs_To extends Relationship {
* Insert a new record into the joining table of the association.
* Insert a new record into the joining table of the association.
*
*
* @param int $id
* @param int $id
* @param array $
joining
* @param array $
attributes
* @return bool
* @return bool
*/
*/
public
function
attach
(
$id
,
$attributes
=
array
())
public
function
attach
(
$id
,
$attributes
=
array
())
...
@@ -317,8 +319,9 @@ class Has_Many_And_Belongs_To extends Relationship {
...
@@ -317,8 +319,9 @@ class Has_Many_And_Belongs_To extends Relationship {
/**
/**
* Match eagerly loaded child models to their parent models.
* Match eagerly loaded child models to their parent models.
*
*
* @param array $parents
* @param string $relationship
* @param array $children
* @param array $parents
* @param array $children
* @return void
* @return void
*/
*/
public
function
match
(
$relationship
,
&
$parents
,
$children
)
public
function
match
(
$relationship
,
&
$parents
,
$children
)
...
@@ -383,7 +386,7 @@ class Has_Many_And_Belongs_To extends Relationship {
...
@@ -383,7 +386,7 @@ class Has_Many_And_Belongs_To extends Relationship {
/**
/**
* Set the columns on the joining table that should be fetched.
* Set the columns on the joining table that should be fetched.
*
*
* @param array $column
* @param array $column
s
* @return Relationship
* @return Relationship
*/
*/
public
function
with
(
$columns
)
public
function
with
(
$columns
)
...
...
laravel/database/eloquent/relationships/has_one.php
View file @
7dae4827
...
@@ -30,8 +30,9 @@ class Has_One extends Has_One_Or_Many {
...
@@ -30,8 +30,9 @@ class Has_One extends Has_One_Or_Many {
/**
/**
* Match eagerly loaded child models to their parent models.
* Match eagerly loaded child models to their parent models.
*
*
* @param array $parents
* @param string $relationship
* @param array $children
* @param array $parents
* @param array $children
* @return void
* @return void
*/
*/
public
function
match
(
$relationship
,
&
$parents
,
$children
)
public
function
match
(
$relationship
,
&
$parents
,
$children
)
...
...
laravel/database/query.php
View file @
7dae4827
...
@@ -475,6 +475,7 @@ class Query {
...
@@ -475,6 +475,7 @@ class Query {
* @param string $column
* @param string $column
* @param string $operator
* @param string $operator
* @param mixed $value
* @param mixed $value
* @return Query
*/
*/
public
function
having
(
$column
,
$operator
,
$value
)
public
function
having
(
$column
,
$operator
,
$value
)
{
{
...
...
laravel/database/schema.php
View file @
7dae4827
...
@@ -44,7 +44,7 @@ class Schema {
...
@@ -44,7 +44,7 @@ class Schema {
* Rename a database table in the schema.
* Rename a database table in the schema.
*
*
* @param string $table
* @param string $table
* @param string $name
* @param string $n
ew_n
ame
* @return void
* @return void
*/
*/
public
static
function
rename
(
$table
,
$new_name
)
public
static
function
rename
(
$table
,
$new_name
)
...
...
laravel/database/schema/grammars/grammar.php
View file @
7dae4827
...
@@ -9,7 +9,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
...
@@ -9,7 +9,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
* Generate the SQL statement for creating a foreign key.
* Generate the SQL statement for creating a foreign key.
*
*
* @param Table $table
* @param Table $table
* @param
Command
$command
* @param
Fluent
$command
* @return string
* @return string
*/
*/
public
function
foreign
(
Table
$table
,
Fluent
$command
)
public
function
foreign
(
Table
$table
,
Fluent
$command
)
...
@@ -54,7 +54,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
...
@@ -54,7 +54,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
* Drop a constraint from the table.
* Drop a constraint from the table.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $
fluent
* @param Fluent $
command
* @return string
* @return string
*/
*/
protected
function
drop_constraint
(
Table
$table
,
Fluent
$command
)
protected
function
drop_constraint
(
Table
$table
,
Fluent
$command
)
...
...
laravel/database/schema/grammars/mysql.php
View file @
7dae4827
...
@@ -323,7 +323,7 @@ class MySQL extends Grammar {
...
@@ -323,7 +323,7 @@ class MySQL extends Grammar {
* Drop a foreign key constraint from the table.
* Drop a foreign key constraint from the table.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $
fluent
* @param Fluent $
command
* @return string
* @return string
*/
*/
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
...
...
laravel/database/schema/grammars/postgres.php
View file @
7dae4827
...
@@ -309,7 +309,7 @@ class Postgres extends Grammar {
...
@@ -309,7 +309,7 @@ class Postgres extends Grammar {
* Drop a foreign key constraint from the table.
* Drop a foreign key constraint from the table.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $
fluent
* @param Fluent $
command
* @return string
* @return string
*/
*/
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
...
...
laravel/database/schema/grammars/sqlserver.php
View file @
7dae4827
...
@@ -327,7 +327,7 @@ class SQLServer extends Grammar {
...
@@ -327,7 +327,7 @@ class SQLServer extends Grammar {
* Drop a foreign key constraint from the table.
* Drop a foreign key constraint from the table.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $
fluent
* @param Fluent $
command
* @return string
* @return string
*/
*/
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
public
function
drop_foreign
(
Table
$table
,
Fluent
$command
)
...
...
laravel/database/schema/table.php
View file @
7dae4827
...
@@ -113,6 +113,7 @@ class Table {
...
@@ -113,6 +113,7 @@ class Table {
*
*
* @param string|array $columns
* @param string|array $columns
* @param string $name
* @param string $name
* @return Fluent
*/
*/
public
function
foreign
(
$columns
,
$name
=
null
)
public
function
foreign
(
$columns
,
$name
=
null
)
{
{
...
...
laravel/documentation/changes.md
View file @
7dae4827
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
-
Speed up many to many eager loading mapping.
-
Speed up many to many eager loading mapping.
-
Tweak the Eloquent::changed() method.
-
Tweak the Eloquent::changed() method.
-
Added support for locales in the URI
.
-
Various bug fixes and improvements
.
<a
name=
"upgrade-3.2.3"
></a>
<a
name=
"upgrade-3.2.3"
></a>
## Upgrading From 3.2.3
## Upgrading From 3.2.3
...
...
laravel/event.php
View file @
7dae4827
...
@@ -176,7 +176,7 @@ class Event {
...
@@ -176,7 +176,7 @@ class Event {
* $responses = Event::fire(array('start', 'loading'), $parameters);
* $responses = Event::fire(array('start', 'loading'), $parameters);
* </code>
* </code>
*
*
* @param string|array $event
* @param string|array $event
s
* @param array $parameters
* @param array $parameters
* @param bool $halt
* @param bool $halt
* @return array
* @return array
...
...
laravel/form.php
View file @
7dae4827
...
@@ -20,7 +20,7 @@ class Form {
...
@@ -20,7 +20,7 @@ class Form {
* Registers a custom macro.
* Registers a custom macro.
*
*
* @param string $name
* @param string $name
* @param Closure $
input
* @param Closure $
macro
* @return void
* @return void
*/
*/
public
static
function
macro
(
$name
,
$macro
)
public
static
function
macro
(
$name
,
$macro
)
...
...
laravel/helpers.php
View file @
7dae4827
...
@@ -543,7 +543,7 @@ function render($view, $data = array())
...
@@ -543,7 +543,7 @@ function render($view, $data = array())
/**
/**
* Get the rendered contents of a partial from a loop.
* Get the rendered contents of a partial from a loop.
*
*
* @param string $
view
* @param string $
partial
* @param array $data
* @param array $data
* @param string $iterator
* @param string $iterator
* @param string $empty
* @param string $empty
...
...
laravel/html.php
View file @
7dae4827
...
@@ -13,7 +13,7 @@ class HTML {
...
@@ -13,7 +13,7 @@ class HTML {
* Registers a custom macro.
* Registers a custom macro.
*
*
* @param string $name
* @param string $name
* @param Closure $
input
* @param Closure $
macro
* @return void
* @return void
*/
*/
public
static
function
macro
(
$name
,
$macro
)
public
static
function
macro
(
$name
,
$macro
)
...
...
laravel/ioc.php
View file @
7dae4827
...
@@ -85,6 +85,7 @@ class IoC {
...
@@ -85,6 +85,7 @@ class IoC {
* </code>
* </code>
*
*
* @param string $type
* @param string $type
* @param array $parameters
* @return mixed
* @return mixed
*/
*/
public
static
function
resolve
(
$type
,
$parameters
=
array
())
public
static
function
resolve
(
$type
,
$parameters
=
array
())
...
...
laravel/laravel.php
View file @
7dae4827
...
@@ -107,46 +107,6 @@ Routing\Router::register('*', '(:all)', function()
...
@@ -107,46 +107,6 @@ Routing\Router::register('*', '(:all)', function()
return
Event
::
first
(
'404'
);
return
Event
::
first
(
'404'
);
});
});
/*
|--------------------------------------------------------------------------
| Gather The URI And Locales
|--------------------------------------------------------------------------
|
| When routing, we'll need to grab the URI and the supported locales for
| the route so we can properly set the language and route the request
| to the proper end-point in the application.
|
*/
$uri
=
URI
::
current
();
$locales
=
Config
::
get
(
'application.languages'
,
array
());
$locales
[]
=
Config
::
get
(
'application.language'
);
/*
|--------------------------------------------------------------------------
| Set The Locale Based On Route
|--------------------------------------------------------------------------
|
| If the URI starts with one of the supported languages, we will set
| the default language to match that URI segment and shorten the
| URI we'll pass to the router to not include the lang segment.
|
*/
foreach
(
$locales
as
$locale
)
{
if
(
starts_with
(
$uri
,
$locale
))
{
Config
::
set
(
'application.language'
,
$locale
);
$uri
=
trim
(
substr
(
$uri
,
strlen
(
$locale
)),
'/'
);
break
;
}
}
if
(
$uri
===
''
)
$uri
=
'/'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Route The Incoming Request
| Route The Incoming Request
...
@@ -158,6 +118,8 @@ if ($uri === '') $uri = '/';
...
@@ -158,6 +118,8 @@ if ($uri === '') $uri = '/';
|
|
*/
*/
$uri
=
URI
::
current
();
Request
::
$route
=
Routing\Router
::
route
(
Request
::
method
(),
$uri
);
Request
::
$route
=
Routing\Router
::
route
(
Request
::
method
(),
$uri
);
$response
=
Request
::
$route
->
call
();
$response
=
Request
::
$route
->
call
();
...
...
laravel/log.php
View file @
7dae4827
...
@@ -64,7 +64,8 @@ class Log {
...
@@ -64,7 +64,8 @@ class Log {
* Format a log message for logging.
* Format a log message for logging.
*
*
* @param string $type
* @param string $type
* @param
* @param string $message
* @return string
*/
*/
protected
static
function
format
(
$type
,
$message
)
protected
static
function
format
(
$type
,
$message
)
{
{
...
...
laravel/pluralizer.php
View file @
7dae4827
...
@@ -24,6 +24,7 @@ class Pluralizer {
...
@@ -24,6 +24,7 @@ class Pluralizer {
/**
/**
* Create a new pluralizer instance.
* Create a new pluralizer instance.
*
*
* @param array $config
* @return void
* @return void
*/
*/
public
function
__construct
(
$config
)
public
function
__construct
(
$config
)
...
...
laravel/profiling/profiler.php
View file @
7dae4827
...
@@ -39,6 +39,8 @@ class Profiler {
...
@@ -39,6 +39,8 @@ class Profiler {
/**
/**
* Add a log entry to the log entries array.
* Add a log entry to the log entries array.
*
*
* @param string $type
* @param string $message
* @return void
* @return void
*/
*/
public
static
function
log
(
$type
,
$message
)
public
static
function
log
(
$type
,
$message
)
...
...
laravel/redirect.php
View file @
7dae4827
...
@@ -6,7 +6,7 @@ class Redirect extends Response {
...
@@ -6,7 +6,7 @@ class Redirect extends Response {
* Create a redirect response to application root.
* Create a redirect response to application root.
*
*
* @param int $status
* @param int $status
* @param bool $
secure
* @param bool $
https
* @return Redirect
* @return Redirect
*/
*/
public
static
function
home
(
$status
=
302
,
$https
=
null
)
public
static
function
home
(
$status
=
302
,
$https
=
null
)
...
...
laravel/request.php
View file @
7dae4827
...
@@ -119,6 +119,7 @@ class Request {
...
@@ -119,6 +119,7 @@ class Request {
/**
/**
* Determine if the request accepts a given content type.
* Determine if the request accepts a given content type.
*
*
* @param string $type
* @return bool
* @return bool
*/
*/
public
static
function
accepts
(
$type
)
public
static
function
accepts
(
$type
)
...
...
laravel/routing/router.php
View file @
7dae4827
...
@@ -292,7 +292,7 @@ class Router {
...
@@ -292,7 +292,7 @@ class Router {
/**
/**
* Register a controller with the router.
* Register a controller with the router.
*
*
* @param string|array $controller
* @param string|array $controller
s
* @param string|array $defaults
* @param string|array $defaults
* @param bool $https
* @param bool $https
* @return void
* @return void
...
...
laravel/session/drivers/database.php
View file @
7dae4827
...
@@ -10,7 +10,7 @@ class Database extends Driver implements Sweeper {
...
@@ -10,7 +10,7 @@ class Database extends Driver implements Sweeper {
*
*
* @var Connection
* @var Connection
*/
*/
pr
ivate
$connection
;
pr
otected
$connection
;
/**
/**
* Create a new database session driver.
* Create a new database session driver.
...
...
laravel/url.php
View file @
7dae4827
...
@@ -107,14 +107,6 @@ class URL {
...
@@ -107,14 +107,6 @@ class URL {
$root
=
static
::
base
()
.
'/'
.
Config
::
get
(
'application.index'
);
$root
=
static
::
base
()
.
'/'
.
Config
::
get
(
'application.index'
);
// If multiple languages are being supported via URIs, we will append current
// language to the URI so all redirects and URLs generated include the
// current language so it is not lost on further requests.
if
(
count
(
Config
::
get
(
'application.languages'
))
>
0
)
{
$root
.=
'/'
.
Config
::
get
(
'application.language'
);
}
// Since SSL is not often used while developing the application, we allow the
// Since SSL is not often used while developing the application, we allow the
// developer to disable SSL on all framework generated links to make it more
// developer to disable SSL on all framework generated links to make it more
// convenient to work with the site while developing locally.
// convenient to work with the site while developing locally.
...
...
laravel/validator.php
View file @
7dae4827
...
@@ -637,6 +637,7 @@ class Validator {
...
@@ -637,6 +637,7 @@ class Validator {
*
*
* @param string $attribute
* @param string $attribute
* @param mixed $value
* @param mixed $value
* @param array $parameters
* @return bool
* @return bool
*/
*/
protected
function
validate_match
(
$attribute
,
$value
,
$parameters
)
protected
function
validate_match
(
$attribute
,
$value
,
$parameters
)
...
...
laravel/view.php
View file @
7dae4827
...
@@ -255,7 +255,7 @@ class View implements ArrayAccess {
...
@@ -255,7 +255,7 @@ class View implements ArrayAccess {
* });
* });
* </code>
* </code>
*
*
* @param string|array $view
* @param string|array $view
s
* @param Closure $composer
* @param Closure $composer
* @return void
* @return void
*/
*/
...
...
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