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
21a6040a
Commit
21a6040a
authored
Aug 14, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improving class comments.
parent
47d2207c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
16 deletions
+13
-16
asset.php
system/asset.php
+3
-2
auth.php
system/auth.php
+3
-3
cache.php
system/cache.php
+4
-2
config.php
system/config.php
+3
-6
lang.php
system/lang.php
+0
-3
No files found.
system/asset.php
View file @
21a6040a
...
@@ -6,8 +6,9 @@ use System\HTML;
...
@@ -6,8 +6,9 @@ use System\HTML;
class
Asset
{
class
Asset
{
/**
/**
* All of the asset containers. Asset containers are created through the
* All of the instantiated asset containers.
* container method, and are managed as singletons.
*
* Asset containers are created through the container method, and are singletons.
*
*
* @var array
* @var array
*/
*/
...
...
system/auth.php
View file @
21a6040a
...
@@ -10,10 +10,10 @@ class Auth {
...
@@ -10,10 +10,10 @@ class Auth {
/**
/**
* The current user of the application.
* The current user of the application.
*
*
* If no user is logged in, this
variable will be NULL. Otherwise, it will contain
* If no user is logged in, this
will be NULL. Otherwise, it will contain the result
*
the result
of the "by_id" closure in the authentication configuration file.
* of the "by_id" closure in the authentication configuration file.
*
*
*
However, the user should typically
be accessed via the "user" method.
*
Typically, the user should
be accessed via the "user" method.
*
*
* @var object
* @var object
* @see user()
* @see user()
...
...
system/cache.php
View file @
21a6040a
...
@@ -10,8 +10,10 @@ class Cache {
...
@@ -10,8 +10,10 @@ class Cache {
public
static
$drivers
=
array
();
public
static
$drivers
=
array
();
/**
/**
* Get a cache driver instance. If no driver name is specified, the default
* Get a cache driver instance.
* cache driver will be returned as defined in the cache configuration file.
*
* If no driver name is specified, the default cache driver will be returned
* as defined in the cache configuration file.
*
*
* @param string $driver
* @param string $driver
* @return Cache\Driver
* @return Cache\Driver
...
...
system/config.php
View file @
21a6040a
...
@@ -70,9 +70,6 @@ class Config {
...
@@ -70,9 +70,6 @@ class Config {
/**
/**
* Parse a configuration key.
* Parse a configuration key.
*
*
* The value on the left side of the dot is the configuration file
* name, while the right side of the dot is the item within that file.
*
* @param string $key
* @param string $key
* @return array
* @return array
*/
*/
...
@@ -93,9 +90,6 @@ class Config {
...
@@ -93,9 +90,6 @@ class Config {
/**
/**
* Load all of the configuration items from a file.
* Load all of the configuration items from a file.
*
*
* Laravel supports environment specific configuration files. So, the base configuration
* array will be loaded first, then any environment specific options will be merged in.
*
* @param string $file
* @param string $file
* @param string $module
* @param string $module
* @return bool
* @return bool
...
@@ -106,6 +100,9 @@ class Config {
...
@@ -106,6 +100,9 @@ class Config {
$path
=
(
$module
===
'application'
)
?
CONFIG_PATH
:
MODULE_PATH
.
$module
.
'/config/'
;
$path
=
(
$module
===
'application'
)
?
CONFIG_PATH
:
MODULE_PATH
.
$module
.
'/config/'
;
// Load the base configuration file. Once that is loaded, we will merge any environment
// specific configuration options into the base array. This allows for the convenient
// cascading of configuration options depending on the application environment.
$config
=
(
file_exists
(
$base
=
$path
.
$file
.
EXT
))
?
require
$base
:
array
();
$config
=
(
file_exists
(
$base
=
$path
.
$file
.
EXT
))
?
require
$base
:
array
();
if
(
isset
(
$_SERVER
[
'LARAVEL_ENV'
])
and
file_exists
(
$path
=
$path
.
$_SERVER
[
'LARAVEL_ENV'
]
.
'/'
.
$file
.
EXT
))
if
(
isset
(
$_SERVER
[
'LARAVEL_ENV'
])
and
file_exists
(
$path
=
$path
.
$_SERVER
[
'LARAVEL_ENV'
]
.
'/'
.
$file
.
EXT
))
...
...
system/lang.php
View file @
21a6040a
...
@@ -90,9 +90,6 @@ class Lang {
...
@@ -90,9 +90,6 @@ class Lang {
/**
/**
* Parse a language key.
* Parse a language key.
*
*
* The value on the left side of the dot is the language file name,
* while the right side of the dot is the item within that file.
*
* @param string $key
* @param string $key
* @param string $language
* @param string $language
* @return array
* @return array
...
...
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