mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-03 03:32:49 +02:00
# SOME DESCRIPTIVE TITLE. # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. # FIRST AUTHOR <EMAIL@ADDRESS>, 2020. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" #: ../../Structural/Facade/README.rst:2 msgid "`Facade`__" msgstr "" #: ../../Structural/Facade/README.rst:5 msgid "Purpose" msgstr "" #: ../../Structural/Facade/README.rst:7 msgid "" "The primary goal of a Facade Pattern is not to avoid you having to read " "the manual of a complex API. It's only a side-effect. The first goal is " "to reduce coupling and follow the Law of Demeter." msgstr "" #: ../../Structural/Facade/README.rst:11 msgid "" "A Facade is meant to decouple a client and a sub-system by embedding many" " (but sometimes just one) interface, and of course to reduce complexity." msgstr "" #: ../../Structural/Facade/README.rst:15 msgid "A facade does not forbid you the access to the sub-system" msgstr "" #: ../../Structural/Facade/README.rst:16 msgid "You can (you should) have multiple facades for one sub-system" msgstr "" #: ../../Structural/Facade/README.rst:18 msgid "" "That's why a good facade has no ``new`` in it. If there are multiple " "creations for each method, it is not a Facade, it's a Builder or a " "[Abstract\\|Static\\|Simple] Factory [Method]." msgstr "" #: ../../Structural/Facade/README.rst:22 msgid "" "The best facade has no ``new`` and a constructor with interface-type-" "hinted parameters. If you need creation of new instances, use a Factory " "as argument." msgstr "" #: ../../Structural/Facade/README.rst:27 msgid "UML Diagram" msgstr "" #: ../../Structural/Facade/README.rst:34 msgid "Code" msgstr "" #: ../../Structural/Facade/README.rst:36 msgid "You can also find this code on `GitHub`_" msgstr "" #: ../../Structural/Facade/README.rst:38 msgid "Facade.php" msgstr "" #: ../../Structural/Facade/README.rst:44 msgid "OperatingSystem.php" msgstr "" #: ../../Structural/Facade/README.rst:50 msgid "Bios.php" msgstr "" #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "" #: ../../Structural/Facade/README.rst:59 msgid "Tests/FacadeTest.php" msgstr ""