mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-02 11:12:38 +02:00
# SOME DESCRIPTIVE TITLE. # Copyright (C) 2011-2020, 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" #: ../../Behavioral/TemplateMethod/README.rst:2 msgid "`Template Method`__" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:5 msgid "Purpose" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:7 msgid "Template Method is a behavioral design pattern." msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:9 msgid "" "Perhaps you have encountered it many times already. The idea is to let " "subclasses of this abstract template \"finish\" the behavior of an " "algorithm." msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:13 msgid "" "A.k.a the \"Hollywood principle\": \"Don't call us, we call you.\" This " "class is not called by subclasses but the inverse. How? With abstraction " "of course." msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:17 msgid "" "In other words, this is a skeleton of algorithm, well-suited for " "framework libraries. The user has just to implement one method and the " "superclass do the job." msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:21 msgid "" "It is an easy way to decouple concrete classes and reduce copy-paste, " "that's why you'll find it everywhere." msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:25 msgid "UML Diagram" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:32 msgid "Code" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:34 msgid "You can also find this code on `GitHub`_" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:36 msgid "Journey.php" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:42 msgid "BeachJourney.php" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:48 msgid "CityJourney.php" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "" #: ../../Behavioral/TemplateMethod/README.rst:57 msgid "Tests/JourneyTest.php" msgstr ""