mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 10:24:00 +02:00
execute read-the-docs.sh
This commit is contained in:
53
More/Delegation/index.rst
Normal file
53
More/Delegation/index.rst
Normal file
@@ -0,0 +1,53 @@
|
||||
Delegation
|
||||
==========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
...
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
...
|
||||
|
||||
UML Diagram
|
||||
-----------
|
||||
|
||||
.. image:: uml/uml.png
|
||||
:alt: Alt Delegation UML Diagram
|
||||
:align: center
|
||||
|
||||
Code
|
||||
----
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Usage.php
|
||||
|
||||
.. literalinclude:: Usage.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
TeamLead.php
|
||||
|
||||
.. literalinclude:: TeamLead.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
JuniorDeveloper.php
|
||||
|
||||
.. literalinclude:: JuniorDeveloper.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
Tests/DelegationTest.php
|
||||
|
||||
.. literalinclude:: Tests/DelegationTest.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/More/Delegation
|
Reference in New Issue
Block a user