mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-05-30 02:20:09 +02:00
comment and typo
This commit is contained in:
parent
eebdbc1dc5
commit
153445b5d0
@ -26,8 +26,8 @@ class AbstractFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* This is the client of factories. Note that the client does not
|
||||
* care which fatory is given to him, it can create any component he
|
||||
* want and render how he wants.
|
||||
* care which factory is given to him, he can create any component he
|
||||
* wants and render how he wants.
|
||||
*
|
||||
* @dataProvider getFactories
|
||||
*/
|
||||
@ -40,6 +40,11 @@ class AbstractFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
);
|
||||
|
||||
$this->assertContainsOnly('DesignPatterns\AbstractFactory\Media', $article);
|
||||
/* this is the time to look at the Builder pattern. This pattern
|
||||
* helps you to create complex object like that article above with
|
||||
* a given Abstract Factory
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user