| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
To build a chain of objects to handle a call in sequential order. If one object cannot handle a call, it delegates the call to the next in the chain and so forth.
You can also find these code on GitHub
Request.php
.. literalinclude:: Request.php :language: php :linenos:
Handler.php
.. literalinclude:: Handler.php :language: php :linenos:
Responsible/SlowStorage.php
.. literalinclude:: Responsible/SlowStorage.php :language: php :linenos:
Responsible/FastStorage.php
.. literalinclude:: Responsible/FastStorage.php :language: php :linenos:
Tests/ChainTest.php
.. literalinclude:: Tests/ChainTest.php :language: php :linenos:
| Back | FazBrowse Home | New Git URL |