Commit Graph

84 Commits

Author SHA1 Message Date
df6fadf517 restored README.md in Behavioral 2016-09-22 15:24:29 +02:00
ce1b53847d PHP7 Specification 2016-09-22 12:54:03 +02:00
09797dd553 Merge branch 'iterator-bug' into php7 2016-09-22 12:19:12 +02:00
2b4b3beeff PHP7 Chain Of Responsibilities 2016-09-22 12:17:22 +02:00
ea8c91ac68 PHP7 State 2016-09-22 11:45:38 +02:00
1c30978a70 PHP7 Visitor 2016-09-22 11:29:48 +02:00
19fff0aed9 PHP7 TemplateMethod 2016-09-22 11:15:18 +02:00
36f3df8fbb PHP7 Strategy 2016-09-22 11:02:03 +02:00
9b9eee5a4c PHP7 Observer 2016-09-22 10:54:22 +02:00
b707bf064e PHP7 NullObject 2016-09-22 10:43:27 +02:00
01007ec5a8 PHP7 Memento 2016-09-22 10:39:03 +02:00
64e21e8581 PHP7 Mediator 2016-09-22 09:38:55 +02:00
a6b09d6b18 PHP7 Command 2016-09-22 09:26:25 +02:00
1da5772226 removed superfluous Class comments 2016-09-22 09:18:20 +02:00
57c2e4f025 #232 simplified things a bit 2016-09-22 08:47:57 +02:00
95ad95c33e On to PHP7^! 2016-09-21 17:23:20 +02:00
a7928d010c Merge branch 'iterator-bug' into php7 2016-09-21 17:08:28 +02:00
3d6db19db3 fixed grammar 2016-09-21 15:03:31 +02:00
c2fb772251 Merge remote-tracking branch 'origin/master' into iterator-bug 2016-09-21 14:38:53 +02:00
d5b8a56425 #232 removed Iterator classes 2016-09-21 14:34:24 +02:00
8f54955452 Merge pull request #230 from diogocavilha/master
Update DateComparator.php
2016-09-10 18:37:23 +02:00
f281f412c4 Update DateComparator.php 2016-09-09 10:17:41 -03:00
c8e0c74f46 Fixed style 2016-06-14 08:50:54 +07:00
f5f192a616 Update RoleVisitorInterface.php 2016-01-28 09:53:00 +03:00
d379374882 Update README.rst 2016-01-25 12:55:19 +01:00
8a9872a6f5 Extended UndoableCommandInterface from CommandInterface 2016-01-21 22:46:28 +01:00
dddfdf65fc 88 - Added undo example for command pattern 2016-01-16 17:13:12 +03:00
fe1f144ec3 Applied fixes from StyleCI 2015-12-21 07:28:20 -05:00
3663603b80 Merge pull request #196 from HassanAlthaf/patch-2
Removed returns on `addBook` and `removeBook`
2015-12-18 10:18:43 +01:00
593d9bb1a4 Removed returns on addBook and removeBook 2015-12-18 14:39:31 +05:30
b024acd0e1 Improved grammar in HelloCommand.php
Simple grammar fixes. :)
2015-12-18 14:28:27 +05:30
3cb0f4bd8b Fix typo 2015-10-20 16:58:37 -05:00
326da7c6c0 fix link in behavioral readme file. 2015-10-13 11:14:50 +03:00
139c2c157c move closing brace to line after body 2015-09-14 11:14:09 -04:00
bb469bd449 move comments to line above 2015-09-14 11:13:28 -04:00
58f0fc6d5f Merge pull request #137 from KIVagant/memento
Memento pattern: full and understandable implementation
2015-09-09 07:33:58 +02:00
274d7b2d7a Refactor DesignPatterns\Behavioral\Iterator 2015-09-08 23:55:13 +02:00
5d11bc5a87 Memento. Note: not equals to English version! 2015-09-08 19:17:51 +03:00
c6f9dccff1 Changes to take care of unwanted (negative) indices 2015-09-07 02:17:17 +02:00
17411e7acc Update Plus.php 2015-07-10 02:28:44 +03:00
1a6152772d add visibility declaration to __construct 2015-06-20 20:01:16 +01:00
7e707cc0fc Merge pull request #135 from bocharsky-bw/patch-1
Replace array storage with SplObjectStorage
2015-06-01 11:47:23 +02:00
2af532c8ee Fix observer attach/detach tests 2015-06-01 01:05:23 +03:00
9c3f4f4f3b add wikipedia links on cataloge of pattern 2015-05-31 13:25:04 +02:00
0ebafc5eaa Memento pattern.
- Caretaker should save history for normal pattern implementation.
- Importent notes in code of Originator.
- Readme with full pattern philosophy.
- Tests and example of usage inside test.
2015-05-30 05:35:54 +03:00
fa36638e88 use Anonymous Hyperlinks for wikipedia link 2015-05-29 12:11:16 +02:00
db7dab5b0d Replace array storage with SplObjectStorage
If you already use SPL interfaces in your example, maybe better to use `SplObjectStorage` too instead of `array` to store observers with `attach` and `detach` convenient methods?
What do you think?
2015-05-27 21:37:19 +03:00
23d8483738 Update README.rst 2015-04-29 13:41:02 +02:00
4c5f2ca113 Adding RulerZ as a sample
RulerZ is a PHP implementation of the Specification pattern which puts the emphasis on three main aspects:

  - an easy and data-agnostic DSL to define business rules and specifications,
  - the ability to check if a candidate satisfies a specification,
  - the ability to filter or query any datasource to only retrieve candidates matching a specification.
2015-04-25 20:31:32 +02:00
8eed6f9c21 Merge pull request #130 from nueckman/codestyle-1
codestyle - remove trailing whitespaces
2015-04-09 21:40:48 +02:00