Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
354b7663
Commit
354b7663
authored
Aug 27, 2014
by
Henrik Bjørnskov
Committed by
Fabien Potencier
Aug 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Register clean up
parent
0328d904
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
src/Silex/Application.php
src/Silex/Application.php
+12
-14
No files found.
src/Silex/Application.php
View file @
354b7663
...
...
@@ -143,11 +143,7 @@ class Application extends Container implements HttpKernelInterface, TerminableIn
{
$this
->
providers
[]
=
$provider
;
$provider
->
register
(
$this
);
foreach
(
$values
as
$key
=>
$value
)
{
$this
[
$key
]
=
$value
;
}
parent
::
register
(
$provider
,
$values
);
return
$this
;
}
...
...
@@ -160,7 +156,10 @@ class Application extends Container implements HttpKernelInterface, TerminableIn
*/
public
function
boot
()
{
if
(
!
$this
->
booted
)
{
if
(
$this
->
booted
)
{
return
;
}
$this
->
booted
=
true
;
foreach
(
$this
->
providers
as
$provider
)
{
...
...
@@ -173,7 +172,6 @@ class Application extends Container implements HttpKernelInterface, TerminableIn
}
}
}
}
/**
* Maps a pattern to a callable.
...
...
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