File tree 9 files changed +51
-9
lines changed
9 files changed +51
-9
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,14 @@ inside a :doc:`compiler pass </service_container/compiler_passes>`.
76
76
Entities & Entity Mapping
77
77
-------------------------
78
78
79
- Due to the way Doctrine works, it is not possible to override entity mapping
80
- of a bundle. However, if a bundle provides a mapped superclass (such as the
81
- ``User `` entity in the FOSUserBundle) one can override attributes and
82
- associations. Learn more about this feature and its limitations in
83
- `the Doctrine documentation `_.
79
+ If a bundle defines its entity mapping in configuration files instead of
80
+ annotations, you can override them as any other regular bundle configuration
81
+ file. The only caveat is that you must override all those mapping configuration
82
+ files and not just the ones you actually want to override.
83
+
84
+ If a bundle provides a mapped superclass (such as the ``User `` entity in the
85
+ FOSUserBundle) you can override its attributes and associations. Learn more
86
+ about this feature and its limitations in `the Doctrine documentation `_.
84
87
85
88
Forms
86
89
-----
Original file line number Diff line number Diff line change 4
4
Databases and the Doctrine ORM
5
5
==============================
6
6
7
+ .. admonition :: Screencast
8
+ :class: screencast
9
+
10
+ Do you prefer video tutorials? Check out the `Doctrine screencast series `_.
11
+
7
12
Symfony doesn't provide a component to work with the database, but it *does * provide
8
13
tight integration with a third-party library called `Doctrine `_.
9
14
@@ -751,3 +756,4 @@ Learn more
751
756
.. _`SensioFrameworkExtraBundle` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
752
757
.. _`ParamConverter` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
753
758
.. _`limit of 767 bytes for the index key prefix` : https://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html
759
+ .. _`Doctrine screencast series` : https://knpuniversity.com/screencast/symfony-doctrine
Original file line number Diff line number Diff line change 4
4
How to Work with Doctrine Associations / Relations
5
5
==================================================
6
6
7
+ .. admonition :: Screencast
8
+ :class: screencast
9
+
10
+ Do you prefer video tutorials? Check out the `Mastering Doctrine Relations `_
11
+ screencast series.
12
+
7
13
There are **two ** main relationship/association types:
8
14
9
15
``ManyToOne `` / ``OneToMany ``
@@ -588,3 +594,4 @@ Doctrine's `Association Mapping Documentation`_.
588
594
589
595
.. _`Association Mapping Documentation` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/association-mapping.html
590
596
.. _`orphanRemoval` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#orphan-removal
597
+ .. _`Mastering Doctrine Relations` : https://knpuniversity.com/screencast/doctrine-relations
Original file line number Diff line number Diff line change 4
4
Forms
5
5
=====
6
6
7
+ .. admonition :: Screencast
8
+ :class: screencast
9
+
10
+ Do you prefer video tutorials? Check out the `Symfony Forms screencast series `_.
11
+
7
12
Dealing with HTML forms is one of the most common - and challenging - tasks for
8
13
a web developer. Symfony integrates a Form component that makes dealing with
9
14
forms easy. In this article, you'll build a complex form from the ground up,
@@ -714,3 +719,4 @@ Learn more
714
719
715
720
.. _`Symfony Form component` : https://github.com/symfony/form
716
721
.. _`DateTime` : https://php.net/manual/en/class.datetime.php
722
+ .. _`Symfony Forms screencast series` : https://knpuniversity.com/screencast/symfony-forms
Original file line number Diff line number Diff line change 1
1
Managing CSS and JavaScript
2
2
===========================
3
3
4
+ .. admonition :: Screencast
5
+ :class: screencast
6
+
7
+ Do you prefer video tutorials? Check out the `Webpack Encore screencast series `_.
8
+
4
9
Symfony ships with a pure-JavaScript library - called Webpack Encore - that makes
5
10
working with CSS and JavaScript a joy. You can use it, use something else, or just
6
11
create static CSS and JS files in your ``public/ `` directory and include them in your
@@ -101,3 +106,4 @@ Other Front-End Articles
101
106
.. _`Mix` : https://laravel.com/docs/5.4/mix
102
107
.. _`Symfony` : http://symfony.com/
103
108
.. _`Full API` : https://github.com/symfony/webpack-encore/blob/master/index.js
109
+ .. _`Webpack Encore screencast series` : https://knpuniversity.com/screencast/webpack-encore
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ two-step process:
18
18
create a Symfony ``Response `` object, which can hold HTML content, a JSON
19
19
string or even a binary file like an image or PDF.
20
20
21
- .. seealso ::
21
+ .. admonition :: Screencast
22
+ :class: screencast
22
23
23
24
Do you prefer video tutorials? Check out the `Stellar Development with Symfony `_
24
- screencast series from KnpUniversity .
25
+ screencast series.
25
26
26
27
.. seealso ::
27
28
Original file line number Diff line number Diff line change 4
4
Security
5
5
========
6
6
7
+ .. admonition :: Screencast
8
+ :class: screencast
9
+
10
+ Do you prefer video tutorials? Check out the `Symfony Security screencast series `_.
11
+
7
12
Symfony's security system is incredibly powerful, but it can also be confusing
8
13
to set up. In this article you'll learn how to set up your application's security
9
14
step-by-step, from configuring your firewall and how you load users, to denying
@@ -1343,3 +1348,4 @@ Other Security Related Topics
1343
1348
.. _`frameworkextrabundle documentation` : https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
1344
1349
.. _`HWIOAuthBundle` : https://github.com/hwi/HWIOAuthBundle
1345
1350
.. _`Symfony ACL bundle` : https://github.com/symfony/acl-bundle
1351
+ .. _`Symfony Security screencast series` : https://knpuniversity.com/screencast/symfony-security
Original file line number Diff line number Diff line change 5
5
Service Container
6
6
=================
7
7
8
+ .. admonition :: Screencast
9
+ :class: screencast
10
+
11
+ Do you prefer video tutorials? Check out the `Symfony Fundamentals screencast series `_.
12
+
8
13
Your application is *full * of useful objects: a "Mailer" object might help you
9
14
send emails while another object might help you save things to the database.
10
15
Almost *everything * that your app "does" is actually done by one of these objects.
@@ -1026,3 +1031,4 @@ Learn more
1026
1031
.. _`service-oriented architecture` : https://en.wikipedia.org/wiki/Service-oriented_architecture
1027
1032
.. _`Symfony Standard Edition (version 3.3) services.yaml` : https://github.com/symfony/symfony-standard/blob/3.3/app/config/services.yml
1028
1033
.. _`glob pattern` : https://en.wikipedia.org/wiki/Glob_(programming)
1034
+ .. _`Symfony Fundamentals screencast series` : https://knpuniversity.com/screencast/symfony-fundamentals
Original file line number Diff line number Diff line change 4
4
Installing & Setting up the Symfony Framework
5
5
=============================================
6
6
7
- .. seealso ::
7
+ .. admonition :: Screencast
8
+ :class: screencast
8
9
9
10
Do you prefer video tutorials? Check out the `Stellar Development with Symfony `_
10
- screencast series from KnpUniversity .
11
+ screencast series.
11
12
12
13
To create your new Symfony application, first make sure you're using PHP 7.1 or higher
13
14
and have `Composer `_ installed. If you don't, start by :doc: `installing Composer globally </setup/composer >`
You can’t perform that action at this time.
0 commit comments