mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-16 11:53:58 +02:00
Merged branch master into translate-template
This commit is contained in:
@@ -36,21 +36,15 @@ Code
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Pool.php
|
||||
WorkerPool.php
|
||||
|
||||
.. literalinclude:: Pool.php
|
||||
.. literalinclude:: WorkerPool.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Processor.php
|
||||
StringReverseWorker.php
|
||||
|
||||
.. literalinclude:: Processor.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Worker.php
|
||||
|
||||
.. literalinclude:: Worker.php
|
||||
.. literalinclude:: StringReverseWorker.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
@@ -63,11 +57,5 @@ Tests/PoolTest.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Tests/TestWorker.php
|
||||
|
||||
.. literalinclude:: Tests/TestWorker.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Pool
|
||||
.. __: http://en.wikipedia.org/wiki/Object_pool_pattern
|
||||
|
Reference in New Issue
Block a user