Skip to content
Browse files

merged branch WouterJ/master (PR #34)

Commits
-------

1bff131 Fixed Documentation: Replaced $c->extend() by $container->extend()

Discussion
----------

Fixed Documentation on the Modifying section

Expected `$container->extend(...)` instead of `$c->extend(...)` on the modifying section (line 92).

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

by igorw at 2012-04-21T18:55:10Z

It's actually inconsistent throughout the doc. I suggest using `$container` everywhere.
  • Loading branch information...
2 parents f593ea9 + 1bff131 commit 090f1c9870340ab64dda4e23868bc5c9b586a0cd @fabpot committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rst
View
2 README.rst
@@ -89,7 +89,7 @@ be run on your service just after it is created::
return new \Zend_Mail();
};
- $container['mail'] = $c->extend('mail', function($mail, $c) {
+ $container['mail'] = $container->extend('mail', function($mail, $c) {
$mail->setFrom($c['mail.default_from']);
return $mail;
});

0 comments on commit 090f1c9

Please sign in to comment.
Something went wrong with that request. Please try again.