Skip to content

Commit b84ed08

Browse files
committed
add missing barPrototype
1 parent 1e76d98 commit b84ed08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Prototype/index.php

+5
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@
1010
$book = clone $fooPrototype;
1111
$book->setTitle('Foo Book No ' . $i);
1212
}
13+
14+
for ($i = 0; $i < 5000; $i++) {
15+
$book = clone $barPrototype;
16+
$book->setTitle('Bar Book No ' . $i);
17+
}

0 commit comments

Comments
 (0)