Skip to content

Commit 94db603

Browse files
committed
Merge branch '2.0'
* 2.0: fixed markup
2 parents 949c69e + 3658b1e commit 94db603

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

components/console.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ and add the following to it::
6262
}
6363

6464
You also need to create the file to run at the command line which creates
65-
an ``Application`` and adds commands to it:
66-
67-
.. code-block::php
65+
an ``Application`` and adds commands to it::
6866

6967
#!/usr/bin/env php
7068
# app/console

components/templating.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ template associated to a reference.
4444
The :method:`Symfony\\Component\\Templating\\PhpEngine::render` method executes
4545
the file `views/hello.php` and returns the output text.
4646

47-
.. code-block::php
47+
.. code-block:: php
4848
4949
<!-- views/hello.php -->
5050
Hello, <?php echo $firstname ?>!
@@ -54,7 +54,7 @@ Template Inheritance with Slots
5454

5555
The template inheritance is designed to share layouts with many templates.
5656

57-
.. code-block::php
57+
.. code-block:: php
5858
5959
<!-- views/layout.php -->
6060
<html>
@@ -69,7 +69,7 @@ The template inheritance is designed to share layouts with many templates.
6969
The :method:`Symfony\\Templating\\PhpEngine::extend` method is called in the
7070
sub-template to set its parent template.
7171

72-
.. code-block::php
72+
.. code-block:: php
7373
7474
<!-- views/page.php -->
7575
<?php $view->extend('layout.php') ?>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy