mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 10:40:17 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -1,5 +1,7 @@
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
@@ -14,9 +16,13 @@ matrix:
|
|||||||
- php: 7.0
|
- php: 7.0
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --prefer-source --no-interaction
|
- composer install --prefer-dist --no-interaction
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit
|
- vendor/bin/phpunit
|
||||||
|
@@ -11,7 +11,7 @@ class Plus extends AbstractSpecification
|
|||||||
protected $right;
|
protected $right;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creation of a locical AND of two specifications
|
* Creation of a logical AND of two specifications
|
||||||
*
|
*
|
||||||
* @param SpecificationInterface $left
|
* @param SpecificationInterface $left
|
||||||
* @param SpecificationInterface $right
|
* @param SpecificationInterface $right
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# DesignPatternsPHP
|
# DesignPatternsPHP
|
||||||
|
|
||||||
[](https://travis-ci.org/domnikl/DesignPatternsPHP)
|
[](https://travis-ci.org/domnikl/DesignPatternsPHP)
|
||||||
|
|
||||||
[Read the Docs of DesignPatternsPHP](http://designpatternsphp.readthedocs.org)
|
[Read the Docs of DesignPatternsPHP](http://designpatternsphp.readthedocs.org)
|
||||||
or [Download as PDF/Epub](https://readthedocs.org/projects/designpatternsphp/downloads/)
|
or [Download as PDF/Epub](https://readthedocs.org/projects/designpatternsphp/downloads/)
|
||||||
|
@@ -11,7 +11,7 @@ static methods (or using the Singleton pattern)
|
|||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
|
|
||||||
- Zend Framework: ``Zend_Registry`` holds the application's logger
|
- Zend Framework 1: ``Zend_Registry`` holds the application's logger
|
||||||
object, front controller etc.
|
object, front controller etc.
|
||||||
- Yii Framework: ``CWebApplication`` holds all the application
|
- Yii Framework: ``CWebApplication`` holds all the application
|
||||||
components, such as ``CWebUser``, ``CUrlManager``, etc.
|
components, such as ``CWebUser``, ``CUrlManager``, etc.
|
||||||
|
@@ -29,7 +29,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../More/Delegation/README.rst:15
|
#: ../../More/Delegation/README.rst:15
|
||||||
msgid "UML Diagram"
|
msgid "UML Diagram"
|
||||||
msgstr ""
|
msgstr "Diagrama UML"
|
||||||
|
|
||||||
#: ../../More/Delegation/README.rst:22
|
#: ../../More/Delegation/README.rst:22
|
||||||
msgid "Code"
|
msgid "Code"
|
||||||
|
@@ -13,4 +13,4 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../More/README.rst:2
|
#: ../../More/README.rst:2
|
||||||
msgid "More"
|
msgid "More"
|
||||||
msgstr ""
|
msgstr "Outros"
|
||||||
|
@@ -28,10 +28,16 @@ msgid ""
|
|||||||
"also supports the objective of achieving a clean separation and one-way "
|
"also supports the objective of achieving a clean separation and one-way "
|
||||||
"dependency between the domain and data mapping layers."
|
"dependency between the domain and data mapping layers."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Faz a mediação entre o domínio e as camadas de mapeamento de dados usando uma coleção de "
|
||||||
|
"interfaces para acessar os objetos de domínio. Repositóros encapsulam um conjunto de "
|
||||||
|
"objetos persistidos em um data store e as operações feitas sobre eles, "
|
||||||
|
"provendo uma visão mais orientada a objetos da camada de persistência. Repositorio "
|
||||||
|
"também apóia o objetivo de alcançar uma separação limpa e uma dependencia unidirecional "
|
||||||
|
"entre o domínio e as camadas de mapeamento de dados."
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:16
|
#: ../../More/Repository/README.rst:16
|
||||||
msgid "Examples"
|
msgid "Examples"
|
||||||
msgstr ""
|
msgstr "Exemplos"
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:18
|
#: ../../More/Repository/README.rst:18
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -41,19 +47,19 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../More/Repository/README.rst:20
|
#: ../../More/Repository/README.rst:20
|
||||||
msgid "Laravel Framework"
|
msgid "Laravel Framework"
|
||||||
msgstr ""
|
msgstr "Framework Laravel"
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:23
|
#: ../../More/Repository/README.rst:23
|
||||||
msgid "UML Diagram"
|
msgid "UML Diagram"
|
||||||
msgstr ""
|
msgstr "Diagrama UML"
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:30
|
#: ../../More/Repository/README.rst:30
|
||||||
msgid "Code"
|
msgid "Code"
|
||||||
msgstr ""
|
msgstr "Código"
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:32
|
#: ../../More/Repository/README.rst:32
|
||||||
msgid "You can also find these code on `GitHub`_"
|
msgid "You can also find these code on `GitHub`_"
|
||||||
msgstr ""
|
msgstr "Você também pode encontrar esse código no `GitHub`_"
|
||||||
|
|
||||||
#: ../../More/Repository/README.rst:34
|
#: ../../More/Repository/README.rst:34
|
||||||
msgid "Post.php"
|
msgid "Post.php"
|
||||||
|
@@ -12,8 +12,8 @@ msgstr ""
|
|||||||
"Language: ru\n"
|
"Language: ru\n"
|
||||||
|
|
||||||
#: ../../Behavioral/README.rst:2
|
#: ../../Behavioral/README.rst:2
|
||||||
msgid "Behavioral"
|
msgid "`Behavioral`__"
|
||||||
msgstr "`Поведенческие шаблоны проектирования <https://ru.wikipedia.org/wiki/Поведенческие_шаблоны_проектирования>`_ (Behavioral)"
|
msgstr "`Поведенческие шаблоны проектирования <https://ru.wikipedia.org/wiki/Поведенческие_шаблоны_проектирования>`_ (`Behavioral`__)"
|
||||||
|
|
||||||
#: ../../Behavioral/README.rst:4
|
#: ../../Behavioral/README.rst:4
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@@ -12,8 +12,8 @@ msgstr ""
|
|||||||
"Language: ru\n"
|
"Language: ru\n"
|
||||||
|
|
||||||
#: ../../Creational/README.rst:2
|
#: ../../Creational/README.rst:2
|
||||||
msgid "Creational"
|
msgid "`Creational`__"
|
||||||
msgstr "Порождающие шаблоны проектирования (Creational)"
|
msgstr "Порождающие шаблоны проектирования (`Creational`__)"
|
||||||
|
|
||||||
#: ../../Creational/README.rst:4
|
#: ../../Creational/README.rst:4
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@@ -12,10 +12,10 @@ msgstr ""
|
|||||||
"Language: ru\n"
|
"Language: ru\n"
|
||||||
|
|
||||||
#: ../../Structural/README.rst:2
|
#: ../../Structural/README.rst:2
|
||||||
msgid "Structural"
|
msgid "`Structural`__"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"`Структурные шаблоны проектирования <https://ru.wikipedia.org/wiki/"
|
"`Структурные шаблоны проектирования <https://ru.wikipedia.org/wiki/"
|
||||||
"Структурные_шаблоны_проектирования>` (Structural)"
|
"Структурные_шаблоны_проектирования>`_ (`Structural`__)"
|
||||||
|
|
||||||
#: ../../Structural/README.rst:4
|
#: ../../Structural/README.rst:4
|
||||||
msgid ""
|
msgid ""
|
||||||
|
Reference in New Issue
Block a user