Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Translate to Portuguese #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion 17 guides/doctrine/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ Doctrine Configuration
DBAL Configuration
------------------

<<<<<<< HEAD:guides/doctrine/configuration.rst
.. code-block:: yaml

=======
[yml]
>>>>>>> origin/PR3:guides/en/Doctrine/Configuration.markdown
# config/config.yml
doctrine.dbal:
driver: PDOMySql
Expand Down Expand Up @@ -64,7 +68,18 @@ but you must pass it an argument with the name of the connection you want to get
ORM Configuration
-----------------

<<<<<<< HEAD:guides/doctrine/configuration.rst
.. code-block:: yaml
=======
doctrine.orm:
default_entity_manager: default
cache_driver: apc # array, apc, memcache, xcache
entity_managers:
default:
connection: default
customer:
connection: customer
>>>>>>> origin/PR3:guides/en/Doctrine/Configuration.markdown

doctrine.orm:
default_entity_manager: default
Expand Down Expand Up @@ -150,4 +165,4 @@ or options:
:drop Processes the schema and either drop the database schema of EntityManager Storage Connection or generate the SQL output.
:update Processes the schema and either update the database schema of EntityManager Storage Connection or generate the SQL output.

...
...
4 changes: 4 additions & 0 deletions 4 guides/testing/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ to check the number of database calls, the time spent in the framework, ...
But before writing assertions, always check that the profiler is indeed
available (it is enabled by default in the ``test`` environment)::

<<<<<<< HEAD:guides/testing/recipes.rst
=======
[php]
>>>>>>> origin/PR3:guides/en/Testing/Recipes.markdown
if ($profiler = $client->getProfiler()) {
// check the number of requests
$this->assertTrue($profiler['db']->getQueryCount() < 10);
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.