Permalink
Browse files

bug #4120 Fix use mistakes (mbutkereit)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4120).

Discussion
----------

Fix use mistakes

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     |  no
| Applies to    | all

On http://symfony.com/doc/current/components/config/resources.html at "new YamlUserLoader", we have also a missing "use" statement. But i'm not sure if we need there one.

Commits
-------

7016c82 Fixing a mistake
4353d1f Fix use mistakes.
  • Loading branch information...
weaverryan committed Aug 16, 2014
2 parents c0a0120 + 7404481 commit 93481d7b2236394939941809020f82005194844a
Showing with 5 additions and 0 deletions.
  1. +3 −0 components/console/introduction.rst
  2. +2 −0 components/templating/helpers/assetshelper.rst
@@ -140,6 +140,9 @@ output. For example::
It is possible to define your own styles using the class
:class:`Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle`::
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
// ...
$style = new OutputFormatterStyle('red', 'yellow', array('bold', 'blink'));
$output->getFormatter()->setStyle('fire', $style);
$output->writeln('<fire>foo</fire>');
@@ -74,6 +74,8 @@ Asset path generation is handled internally by packages. The component provides
You can also use multiple packages::
use Symfony\Component\Templating\Asset\PathPackage;
// ...
$templateEngine->set(new AssetsHelper());

0 comments on commit 93481d7

Please sign in to comment.