diff --git a/docs/en/tutorials/composite-primary-keys.rst b/docs/en/tutorials/composite-primary-keys.rst index dcf8bc687..f50507fd3 100644 --- a/docs/en/tutorials/composite-primary-keys.rst +++ b/docs/en/tutorials/composite-primary-keys.rst @@ -239,26 +239,48 @@ Sometimes you have the requirement that two objects are related by a One-To-One and that the dependent class should re-use the primary key of the class it depends on. One good example for this is a user-address relationship: -.. code-block:: php +.. configuration-block:: -