Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4353d1f

Browse filesBrowse files
Marvin ButkereitMarvin Butkereit
authored andcommitted
Fix use mistakes.
1 parent 47c7fe2 commit 4353d1f
Copy full SHA for 4353d1f

File tree

Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed

‎components/console/introduction.rst

Copy file name to clipboardExpand all lines: components/console/introduction.rst
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ output. For example::
140140
It is possible to define your own styles using the class
141141
:class:`Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle`::
142142

143+
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
144+
145+
// ...
143146
$style = new OutputFormatterStyle('red', 'yellow', array('bold', 'blink'));
144147
$output->getFormatter()->setStyle('fire', $style);
145148
$output->writeln('<fire>foo</fire>');

‎components/templating/helpers/assetshelper.rst

Copy file name to clipboardExpand all lines: components/templating/helpers/assetshelper.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ To avoid using the cached resource after updating the old resource, you can
7171
use versions which you bump every time you release a new project. The version
7272
can be specified in the third argument::
7373

74+
use Symfony\Component\Templating\Asset\PathPackage;
75+
7476
// ...
7577
$templateEngine->set(new AssetsHelper(null, null, '328rad75'));
7678

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.