Skip to content

Commit

Permalink
Merge branch '7.2' into 7.3
Browse files Browse the repository at this point in the history
* 7.2:
  [Doctrine] Use PDO constants in YAML configuration example
  • Loading branch information
javiereguiluz committed Jan 13, 2025
2 parents e12afdd + fefb404 commit d91f303
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,12 @@ set up the connection using environment variables for the certificate paths:
server_version: '8.0.31'
driver: 'pdo_mysql'
options:
# SSL private key (PDO::MYSQL_ATTR_SSL_KEY)
1007: '%env(MYSQL_SSL_KEY)%'
# SSL certificate (PDO::MYSQL_ATTR_SSL_CERT)
1008: '%env(MYSQL_SSL_CERT)%'
# SSL CA authority (PDO::MYSQL_ATTR_SSL_CA)
1009: '%env(MYSQL_SSL_CA)%'
# SSL private key
!php/const 'PDO::MYSQL_ATTR_SSL_KEY': '%env(MYSQL_SSL_KEY)%'
# SSL certificate
!php/const 'PDO::MYSQL_ATTR_SSL_CERT': '%env(MYSQL_SSL_CERT)%'
# SSL CA authority
!php/const 'PDO::MYSQL_ATTR_SSL_CA': '%env(MYSQL_SSL_CA)%'
.. code-block:: xml
Expand Down

0 comments on commit d91f303

Please sign in to comment.