Files

# 
msgid ""
msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-13 12:18+0200\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Last-Translator: didacus <diequito93@gmail.com>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"

#: ../../Structural/DependencyInjection/README.rst:2
msgid "`Dependency Injection`__"
msgstr "`Dependency Injection`__"

#: ../../Structural/DependencyInjection/README.rst:5
msgid "Purpose"
msgstr "Scopo"

#: ../../Structural/DependencyInjection/README.rst:7
msgid ""
"To implement a loosely coupled architecture in order to get better testable,"
" maintainable and extendable code."
msgstr ""
"Implementare un'architettura con basso accoppiamento affinchè il codice sia meglio "
"testabile, manutenibile ed estensibile."

#: ../../Structural/DependencyInjection/README.rst:11
msgid "Usage"
msgstr "Utilizzo"

#: ../../Structural/DependencyInjection/README.rst:13
msgid ""
"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that it "
"needs from ``$config``. Without DI, the configuration would be created "
"directly in ``DatabaseConnection``, which is not very good for testing and "
"extending it."
msgstr ""
"``DatabaseConfiguration`` è iniettata e ``DatabaseConnexion`` otterrà tutto quello di cui "
"necessita da ``$config``. Senza DI, la configurazione sarebbe stata creata "
"direttamente dentro ``DatabaseConnexion`` la quale non sarebbe stata facile da testare ed estendere."

#: ../../Structural/DependencyInjection/README.rst:26
msgid "Examples"
msgstr "Esempi"

#: ../../Structural/DependencyInjection/README.rst:28
msgid ""
"The Doctrine2 ORM uses dependency injection e.g. for configuration that is "
"injected into a ``Connection`` object. For testing purposes, one can easily "
"create a mock object of the configuration and inject that into the "
"``Connection`` object"
msgstr ""
"L'ORM Doctrine2 utilizza questo pattern per la configurazione che è  "
"iniettata nell'oggetto ``Connection``. Per il testing, si può facilmente "
"creare un oggetto mock di configurazione iniettandolo nell'oggetto ``Connection``."

#: ../../Structural/DependencyInjection/README.rst:32
msgid ""
"many frameworks already have containers for DI that create "
"objects via a configuration array and inject them where needed (i.e. in "
"Controllers)"
msgstr ""
"Molti framework possiedono già dei contenitori che usano DI per creare "
"oggetti tramite configurazioni sottoforma di array e iniettarle quando necessario (ad esempio i Controller)"

#: ../../Structural/DependencyInjection/README.rst:13
msgid "UML Diagram"
msgstr "Diagramma UML"

#: ../../Structural/DependencyInjection/README.rst:20
msgid "Code"
msgstr "Codice"

#: ../../Structural/DependencyInjection/README.rst:22
msgid "You can also find this code on `GitHub`_"
msgstr "Potete trovare questo codice anche su `GitHub`_"

#: ../../Structural/DependencyInjection/README.rst:85
msgid "Test"
msgstr "Test"