mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-12 18:04:04 +02:00
Refactored example of Proxy pattern
This commit is contained in:
@@ -25,15 +25,21 @@ Code
|
||||
|
||||
You can also find this code on `GitHub`_
|
||||
|
||||
Record.php
|
||||
BankAccount.php
|
||||
|
||||
.. literalinclude:: Record.php
|
||||
.. literalinclude:: BankAccount.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
RecordProxy.php
|
||||
HeavyBankAccount.php
|
||||
|
||||
.. literalinclude:: RecordProxy.php
|
||||
.. literalinclude:: HeavyBankAccount.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BankAccountProxy.php
|
||||
|
||||
.. literalinclude:: BankAccountProxy.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
|
Reference in New Issue
Block a user