mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-09 14:20:46 +02:00
# msgid "" msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-02-04 12:00+0200\n" "PO-Revision-Date: 2023-02-04 12:00+0200\n" "Last-Translator: Petro Ostapuk <petroostapuk@gmail.com>\n" "Language-Team: \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.1.1\n" #: ../../Creational/FactoryMethod/README.rst:2 msgid "`Factory Method`__" msgstr "" "`Фабричний метод <https://uk.wikipedia.org/wiki/Фабричний_метод_(шаблон_проєктування)>`_ (`Factory Method`__)" #: ../../Creational/FactoryMethod/README.rst:5 msgid "Purpose" msgstr "Призначення" #: ../../Creational/FactoryMethod/README.rst:7 msgid "" "The good point over the SimpleFactory is you can subclass it to implement " "different ways to create objects." msgstr "" "Вигідна відмінність від SimpleFactory в тому, що ви можете винести реалізацію " "створення об'єктів у підкласи." #: ../../Creational/FactoryMethod/README.rst:10 msgid "For simple cases, this abstract class could be just an interface." msgstr "" "У простих випадках цей абстрактний клас може бути тільки інтерфейсом." #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " "Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Цей патерн є \"справжнім\" Шаблоном Проектування, тому що він " "слід \"Принципу інверсії залежностей\" також відомому як \"D\" в `S.O.L.I.D <https://" "uk.wikipedia.org/wiki/SOLID_(об'єктно-орієнтоване_програмування)>`_." #: ../../Creational/FactoryMethod/README.rst:15 msgid "" "It means the FactoryMethod class depends on abstractions, not concrete " "classes. This is the real trick compared to SimpleFactory or StaticFactory." msgstr "" "Це означає, що клас FactoryMethod залежить від абстракцій, а не від " "конкретних класів. Це істотний плюс у порівнянні з SimpleFactory або " "StaticFactory." #: ../../Creational/FactoryMethod/README.rst:20 msgid "UML Diagram" msgstr "Діаграма UML" #: ../../Creational/FactoryMethod/README.rst:27 msgid "Code" msgstr "Код" #: ../../Creational/FactoryMethod/README.rst:29 msgid "You can also find this code on `GitHub`_" msgstr "Ви можете знайти цей код на `GitHub`_" #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Тест"