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
5b3e31bf
Commit
5b3e31bf
authored
Jul 04, 2013
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed markup
parent
99ddee03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
doc/changelog.rst
doc/changelog.rst
+1
-1
doc/cookbook/error_handler.rst
doc/cookbook/error_handler.rst
+3
-3
doc/testing.rst
doc/testing.rst
+3
-3
src/Silex/Application/SwiftmailerTrait.php
src/Silex/Application/SwiftmailerTrait.php
+4
-3
No files found.
doc/changelog.rst
View file @
5b3e31bf
...
...
@@ -8,7 +8,7 @@ Changelog
one.
* Made dispatcher proxy methods ``on``, ``before``, ``after`` and ``error``
lazy, so that they will not instantiate the dispatcher early.
* Dropped support for 2.1 and 2.2 versions of
s
ymfony.
* Dropped support for 2.1 and 2.2 versions of
S
ymfony.
1.0.1 (2013-07-04)
------------------
...
...
doc/cookbook/error_handler.rst
View file @
5b3e31bf
...
...
@@ -16,9 +16,9 @@ user to register them.
Registering the ErrorHandler
----------------------------
Fortunately, the `
Symfony/Debug` package has an `ErrorHandler` that solves this
issue. It converts all errors to exceptions, and exceptions can be caught by
Silex.
Fortunately, the `
`Symfony/Debug`` package has an ``ErrorHandler`` class that
solves this issue. It converts all errors to exceptions, and exceptions can be
caught by
Silex.
You register it by calling the static ``register`` method::
...
...
doc/testing.rst
View file @
5b3e31bf
...
...
@@ -78,9 +78,9 @@ use it by making your test extend it::
.. note::
If you want to use the Symfony2 `
WebTestCase` you will need to explicitly
install its dependencies for your project. Add the following to your
`composer.json
` file:
If you want to use the Symfony2 `
`WebTestCase`` class you will need to
explicitly install its dependencies for your project. Add the following to
your ``composer.json`
` file:
.. code-block:: json
...
...
src/Silex/Application/SwiftmailerTrait.php
View file @
5b3e31bf
...
...
@@ -21,9 +21,10 @@ trait SwiftmailerTrait
/**
* Sends an email.
*
* @param \Swift_Message $message A \Swift_Message instance
* @param array $failedRecipients An array of failures by-reference
* @return int
* @param \Swift_Message $message A \Swift_Message instance
* @param array $failedRecipients An array of failures by-reference
*
* @return int The number of sent messages
*/
public
function
mail
(
\Swift_Message
$message
,
&
$failedRecipients
=
null
)
{
...
...
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