File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Controllers are also called *actions*.
116
116
117
117
This controller is pretty straightforward:
118
118
119
- * *line 4 *: Symfony takes advantage of PHP 5.3 namespace functionality to
119
+ * *line 4 *: Symfony takes advantage of PHP's namespace functionality to
120
120
namespace the entire controller class. The ``use `` keyword imports the
121
121
``Response `` class, which the controller must return.
122
122
@@ -556,7 +556,7 @@ Symfony will automatically return a 500 HTTP response code.
556
556
throw new \Exception('Something went wrong!');
557
557
558
558
In every case, an error page is shown to the end user and a full debug
559
- error page is shown to the developer (i.e. when you're using ``app_dev.php `` -
559
+ error page is shown to the developer (i.e. when you're using ``app_dev.php `` -
560
560
see :ref: `page-creation-environments `).
561
561
562
562
You'll want to customize the error page your user sees. To do that, see the
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ Bundle Name
29
29
-----------
30
30
31
31
A bundle is also a PHP namespace. The namespace must follow the technical
32
- interoperability `standards `_ for PHP 5.3 namespaces and class names: it
33
- starts with a vendor segment, followed by zero or more category segments, and
34
- it ends with the namespace short name, which must end with a ``Bundle ``
35
- suffix.
32
+ interoperability `standards `_ for PHP namespaces and class names: it starts
33
+ with a vendor segment, followed by zero or more category segments, and it ends
34
+ with the namespace short name, which must end with a ``Bundle `` suffix.
36
35
37
36
A namespace becomes a bundle as soon as you add a bundle class to it. The
38
37
bundle class name must follow these simple rules:
Original file line number Diff line number Diff line change 4
4
How to Use Monolog to Write Logs
5
5
================================
6
6
7
- Monolog _ is a logging library for PHP 5.3 used by Symfony. It is
8
- inspired by the Python LogBook library.
7
+ Monolog _ is a logging library for PHP used by Symfony. It is inspired by the
8
+ Python LogBook library.
9
9
10
10
Usage
11
11
-----
You can’t perform that action at this time.
0 commit comments