Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.03 KB

README.rst

File metadata and controls

68 lines (46 loc) · 1.03 KB

Purpose

Decouple an abstraction from its implementation so that the two can vary independently.

UML Diagram

Alt Bridge UML Diagram

Code

You can also find this code on GitHub

Formatter.php

.. literalinclude:: Formatter.php
   :language: php
   :linenos:

PlainTextFormatter.php

.. literalinclude:: PlainTextFormatter.php
   :language: php
   :linenos:

HtmlFormatter.php

.. literalinclude:: HtmlFormatter.php
   :language: php
   :linenos:

Service.php

.. literalinclude:: Service.php
   :language: php
   :linenos:

HelloWorldService.php

.. literalinclude:: HelloWorldService.php
   :language: php
   :linenos:

PingService.php

.. literalinclude:: PingService.php
   :language: php
   :linenos:

Test

Tests/BridgeTest.php

.. literalinclude:: Tests/BridgeTest.php
   :language: php
   :linenos: