diff --git a/AbstractFactory/AbstractFactory.php b/AbstractFactory/AbstractFactory.php new file mode 100644 index 0000000..9473cf4 --- /dev/null +++ b/AbstractFactory/AbstractFactory.php @@ -0,0 +1,40 @@ +_name = (string) $name; + $this->_path = (string) $path; + } +} diff --git a/AbstractFactory/Text.php b/AbstractFactory/Text.php new file mode 100644 index 0000000..ce18580 --- /dev/null +++ b/AbstractFactory/Text.php @@ -0,0 +1,24 @@ +_text = $text; + } +} diff --git a/FactoryMethod/FactoryMethod.php b/FactoryMethod/FactoryMethod.php new file mode 100644 index 0000000..8640078 --- /dev/null +++ b/FactoryMethod/FactoryMethod.php @@ -0,0 +1,49 @@ +