Allow constructor arguments.
[docs] Add cookbook recipe for the ErrorHandler
add charset documentation in doctrine provider
merged branch ricardclau/add_charset_doc_doctrineprovider (PR #569)

This PR was merged into the master branch.

Commits
-------

d32857a add charset documentation in doctrine provider

Discussion
----------

[docs] Add charset documentation in doctrine provider

This PR refers to https://github.com/fabpot/Silex/issues/549 and adds documentation on how to setup charset when connecting to mysql

I've also edited the mysql example so that it is even more clear

And last but not least, I've upgraded links to doctrine documentation so that it points to their latest version

---------------------------------------------------------------------------

by ricardclau at 2012-12-30T14:31:32Z

Tests have failed in travis due to a TransportException when downloading Pimple... weird!
Update src/Silex/Application.php

EventDispatcher addListener function has no return value
merged branch janschoenherr/patch-1 (PR #571)

This PR was merged into the master branch.

Commits
-------

6b248b0 Update src/Silex/Application.php

Discussion
----------

Update src/Silex/Application.php

EventDispatcher addListener function has no return value

---------------------------------------------------------------------------

by GromNaN at 2013-01-02T15:45:08Z

Exact.
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/EventDispatcher/EventDispatcher.php#L88
renamed a chapter (closes #570)
adding missing reference to the serializer doc page
merged branch igorw/error-handler-cookbook (PR #563)

This PR was merged into the master branch.

Commits
-------

d272d71 [docs] Add cookbook recipe for the ErrorHandler

Discussion
----------

[docs] Add cookbook recipe for the ErrorHandler

---------------------------------------------------------------------------

by igorw at 2013-01-03T00:46:52Z

bump.

---------------------------------------------------------------------------

by davedevelopment at 2013-01-03T01:02:13Z

:+1:  looks good
merged branch marijn/feature/constructor-parameters (PR #556)

This PR was merged into the master branch.

Commits
-------

6543379 Allow constructor arguments.

Discussion
----------

Allow constructor arguments.

Unfortunately my phpunit installation is horribly broken so I can't run the tests right now...

---------------------------------------------------------------------------

by igorw at 2012-11-27T00:21:38Z

:+1:

---------------------------------------------------------------------------

by igorw at 2012-11-27T00:21:49Z

Docs?

---------------------------------------------------------------------------

by igorw at 2012-11-27T00:24:24Z

The parent constructor should probably be called at the end, that allows parameters to override the default services. And you should add a test case for that too.

---------------------------------------------------------------------------

by GromNaN at 2012-11-27T07:54:31Z

@igorw The parent constructor replaces everything, so it cannot be called at the end.
https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php#L46

---------------------------------------------------------------------------

by fabpot at 2013-01-03T08:10:28Z

What about just calling `array_replace($this->values, $values)` at the end of the constructor instead?

---------------------------------------------------------------------------

by igorw at 2013-01-03T08:35:02Z

Sounds good to me.
allowed to override application values via the constructor
Call parent constructor in app, to initialize pimple
merged branch igorw/app-parent-constructor (PR #572)

This PR was merged into the master branch.

Commits
-------

44ba6e7 Call parent constructor in app, to initialize pimple

Discussion
----------

Call parent constructor in app, to initialize pimple
updated license year