Skip to content

Update architecture documentation#4164

Merged
morozov merged 1 commit intodoctrine:3.0.xfrom
morozov:architecture
Jul 11, 2020
Merged

Update architecture documentation#4164
morozov merged 1 commit intodoctrine:3.0.xfrom
morozov:architecture

Conversation

@morozov
Copy link
Copy Markdown
Member

@morozov morozov commented Jul 11, 2020

Q A
Type improvement
BC Break no

``Doctrine\DBAL\Statement`` add to the underlying driver
The DBAL consists of two layers: drivers and a wrapper. Each layer
is mainly defined in terms of 3 components: ``Connection``,
```Statement`` and ``Result``.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my phone, but too many backticks here

Apart from the three main components, a DBAL driver should also provide
an implementation of the ``Doctrine\DBAL\Driver`` interface that
implements the logic of translation of the DBAL connection parameters
to the ones specific to the given driver and provides factory methods
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the interface provide the factory methods? If not no s after provide

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it was about "interface … provides" but it's clumsy and the sentence is too complex. Let me try to rephrase.

@morozov morozov merged commit 12793ff into doctrine:3.0.x Jul 11, 2020
@morozov morozov self-assigned this Jul 11, 2020
@morozov morozov deleted the architecture branch July 11, 2020 17:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants