mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-01 12:40:11 +02:00
Merge pull request #50 from johnikx/prototype-improvement
added missing barPrototype
This commit is contained in:
@@ -10,3 +10,8 @@ for ($i = 0; $i < 10000; $i++) {
|
||||
$book = clone $fooPrototype;
|
||||
$book->setTitle('Foo Book No ' . $i);
|
||||
}
|
||||
|
||||
for ($i = 0; $i < 5000; $i++) {
|
||||
$book = clone $barPrototype;
|
||||
$book->setTitle('Bar Book No ' . $i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user