mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 20:20:15 +02:00
comment and typo
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user