diff --git a/en/reference/architecture.rst b/en/reference/architecture.rst index 6950fec27..362ff9ea1 100644 --- a/en/reference/architecture.rst +++ b/en/reference/architecture.rst @@ -17,11 +17,11 @@ be any regular PHP class observing the following restrictions: always be private or protected, otherwise lazy-loading might not work as expected. - An entity class must not implement ``__clone`` or - `do so safely `_. + :doc:`do so safely <../cookbook/implementing-wakeup-or-clone>`. - An entity class must not implement ``__wakeup`` or - `do so safely `_. + :doc:`do so safely <../cookbook/implementing-wakeup-or-clone>`. Also consider implementing - `Serializable `_ + `Serializable `_ instead. - Any two entity classes in a class hierarchy that inherit directly or indirectly from one another must not have a mapped diff --git a/en/reference/limitations-and-known-issues.rst b/en/reference/limitations-and-known-issues.rst index dbf5cd7e5..0a7df425b 100644 --- a/en/reference/limitations-and-known-issues.rst +++ b/en/reference/limitations-and-known-issues.rst @@ -254,7 +254,7 @@ legacy-databases to work with Doctrine 2. - You can quote column-names as described in the - `Basic-Mapping `_ section. + :doc:`Basic-Mapping ` section. - You cannot quote join column names. - You cannot use non [a-zA-Z0-9\_]+ characters, they will break several SQL statements.