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
502d1049
Commit
502d1049
authored
Apr 06, 2014
by
Andrew M
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
ddcec079
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
doc/cookbook/sub_requests.rst
doc/cookbook/sub_requests.rst
+2
-2
doc/providers/form.rst
doc/providers/form.rst
+1
-2
doc/providers/monolog.rst
doc/providers/monolog.rst
+1
-1
No files found.
doc/cookbook/sub_requests.rst
View file @
502d1049
...
...
@@ -32,8 +32,8 @@ By calling ``handle``, you can make a sub-request manually. Here's an example::
$response = $app->handle($subRequest, HttpKernelInterface::SUB_REQUEST, false);
There's some more things that you need to keep in mind though. In most cases
you will want to forward some parts of the current master request to the
sub-
request. That includes: Cookies, server information, session.
you will want to forward some parts of the current master request to the
sub-
request. That includes: Cookies, server information, session.
Here is a more advanced example that forwards said information (``$request``
holds the master request)::
...
...
doc/providers/form.rst
View file @
502d1049
...
...
@@ -127,8 +127,7 @@ example::
return $app['twig']->render('index.twig', array('form' => $form->createView()));
});
And here is the ``index.twig`` form template (requires ``symfony/twig-
bridge``):
And here is the ``index.twig`` form template (requires ``symfony/twig-bridge``):
.. code-block:: jinja
...
...
doc/providers/monolog.rst
View file @
502d1049
...
...
@@ -13,7 +13,7 @@ Parameters
* **monolog.logfile**: File where logs are written to.
* **monolog.level** (optional): Level of logging defaults
* **monolog.level** (optional): Level of logging
,
defaults
to ``DEBUG``. Must be one of ``Logger::DEBUG``, ``Logger::INFO``,
``Logger::WARNING``, ``Logger::ERROR``. ``DEBUG`` will log
everything, ``INFO`` will log everything except ``DEBUG``,
...
...
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