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"

#: ../../Behavioral/NullObject/README.rst:2
msgid "`Null Object`__"
msgstr "`Null Object`__"

#: ../../Behavioral/NullObject/README.rst:5
msgid "Purpose"
msgstr "Scopo"

#: ../../Behavioral/NullObject/README.rst:7
msgid ""
"NullObject is not a GoF design pattern but a schema which appears frequently"
" enough to be considered a pattern. It has the following benefits:"
msgstr ""
"NullObject non è un pattern della GoF ma uno schema che appare frequentemente da essere "
"considerato tale. Possiede i seguenti vantaggi:"

#: ../../Behavioral/NullObject/README.rst:11
msgid "Client code is simplified"
msgstr "Il codice del client è semplificato"

#: ../../Behavioral/NullObject/README.rst:12
msgid "Reduces the chance of null pointer exceptions"
msgstr "Riduce il rischio di null pointer exceptions"

#: ../../Behavioral/NullObject/README.rst:13
msgid "Fewer conditionals require less test cases"
msgstr "Meno espressioni condizionali richiedono meno casi di test"

#: ../../Behavioral/NullObject/README.rst:15
msgid ""
"Methods that return an object or null should instead return an object or "
"``NullObject``. ``NullObject``\\ s simplify boilerplate code such as ``if "
"(!is_null($obj)) { $obj->callSomething(); }`` to just "
"``$obj->callSomething();`` by eliminating the conditional check in client "
"code."
msgstr ""
"I metodi che restituisco un oggetto o null dovrebbero invece restituire l'oggetto o il "
"``NullObject``. Questi ``NullObjects`` semplificano il codice cosicchè "
"``if (!is_null($obj)) { $obj->callSomething() ; }`` con il seguente ``$obj->callSomething() ;`` "
"eliminado il controllo condizionale nel codice del client."

#: ../../Behavioral/NullObject/README.rst:22
msgid "Examples"
msgstr "Esempi"

#: ../../Behavioral/NullObject/README.rst:24
msgid "null logger or null output to preserve a standard way of interaction between objects, even if the shouldn't do anything"
msgstr "Null logger o null output per preservare una procedura standard di interazione tra oggetti anche se non eseguono niente."

#: ../../Behavioral/NullObject/README.rst:26
msgid "null handler in a Chain of Responsibilities pattern"
msgstr "Null handler in un pattern di Chain of Responsabilities"

#: ../../Behavioral/NullObject/README.rst:27
msgid "null command in a Command pattern"
msgstr "Null command in un Command pattern"

#: ../../Behavioral/NullObject/README.rst:13
msgid "UML Diagram"
msgstr "Diagramma UML"

#: ../../Behavioral/NullObject/README.rst:20
msgid "Code"
msgstr "Codice"

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

#: ../../Behavioral/NullObject/README.rst:85
msgid "Test"
msgstr "Test"