mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 09:42:24 +01:00
# msgid "" msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\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" #: ../../Behavioral/Visitor/README.rst:2 msgid "`Visitor`__" msgstr "" #: ../../Behavioral/Visitor/README.rst:5 msgid "Purpose" msgstr "" #: ../../Behavioral/Visitor/README.rst:7 msgid "" "The Visitor Pattern lets you outsource operations on objects to other " "objects. The main reason to do this is to keep a separation of concerns. But" " classes have to define a contract to allow visitors (the ``Role::accept`` " "method in the example)." msgstr "" #: ../../Behavioral/Visitor/README.rst:12 msgid "" "The contract is an abstract class but you can have also a clean interface. " "In that case, each Visitor has to choose itself which method to invoke on " "the visitor." msgstr "" #: ../../Behavioral/Visitor/README.rst:17 msgid "UML Diagram" msgstr "" #: ../../Behavioral/Visitor/README.rst:24 msgid "Code" msgstr "" #: ../../Behavioral/Visitor/README.rst:26 msgid "You can also find these code on `GitHub`_" msgstr "" #: ../../Behavioral/Visitor/README.rst:28 msgid "RoleVisitorInterface.php" msgstr "" #: ../../Behavioral/Visitor/README.rst:34 msgid "RolePrintVisitor.php" msgstr "" #: ../../Behavioral/Visitor/README.rst:40 msgid "Role.php" msgstr "" #: ../../Behavioral/Visitor/README.rst:46 msgid "User.php" msgstr "" #: ../../Behavioral/Visitor/README.rst:52 msgid "Group.php" msgstr "" #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "" #: ../../Behavioral/Visitor/README.rst:61 msgid "Tests/VisitorTest.php" msgstr ""