@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Gr8abbasi\Container; |
4 | 4 | |
5 | -use Interop\Container\ContainerInterface; |
|
6 | -use Gr8abbasi\Container\Exception\NotFoundException; |
|
7 | 5 | use Gr8abbasi\Container\Exception\ContainerException; |
6 | +use Gr8abbasi\Container\Exception\NotFoundException; |
|
8 | 7 | use Gr8abbasi\Container\Factory\ConfigFileServiceFactory; |
9 | 8 | use Gr8abbasi\Container\Repository\InMemoryServiceRepository; |
9 | +use Interop\Container\ContainerInterface; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Container Class |
@@ -76,8 +76,9 @@ |
||
76 | 76 | * Create service and add to the |
77 | 77 | * repository |
78 | 78 | * |
79 | - * @param string $name |
|
80 | 79 | * |
80 | + * @param string $id |
|
81 | + * @param Container $container |
|
81 | 82 | * @return void |
82 | 83 | */ |
83 | 84 | private function createService($id, $container) |