@@ -131,6 +131,9 @@ |
||
| 131 | 131 | return new Twig_Environment(new Twig_Loader_Array, $options); |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | + /** |
|
| 135 | + * @param string $id |
|
| 136 | + */ |
|
| 134 | 137 | private function resolveAlias($id): string |
| 135 | 138 | { |
| 136 | 139 | static $aliases = [ |
@@ -3,30 +3,21 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Twig_Environment; |
| 5 | 5 | use Twig_Loader_Array; |
| 6 | - |
|
| 7 | -use Psr\Http\Message\UriInterface; |
|
| 8 | 6 | use Interop\Container\ContainerInterface; |
| 9 | - |
|
| 10 | -use Http\Message\UriFactory; |
|
| 11 | 7 | use Http\Message\StreamFactory; |
| 12 | 8 | use Http\Message\MessageFactory; |
| 13 | - |
|
| 14 | 9 | use Http\Discovery\HttpClientDiscovery; |
| 15 | 10 | use Http\Discovery\UriFactoryDiscovery; |
| 16 | 11 | use Http\Discovery\StreamFactoryDiscovery; |
| 17 | 12 | use Http\Discovery\MessageFactoryDiscovery; |
| 18 | - |
|
| 19 | 13 | use Http\Client\HttpClient; |
| 20 | 14 | use Http\Client\Common\PluginClient; |
| 21 | 15 | use Http\Client\Common\Plugin\BaseUriPlugin; |
| 22 | 16 | use Http\Client\Common\Plugin\HistoryPlugin; |
| 23 | 17 | use Http\Client\Common\Plugin\ContentLengthPlugin; |
| 24 | - |
|
| 25 | 18 | use Behapi\Tools\Debug; |
| 26 | 19 | use Behapi\Tools\HttpHistory; |
| 27 | - |
|
| 28 | 20 | use Behapi\ServiceContainer\NotFoundException; |
| 29 | -use Behapi\ServiceContainer\ServiceNotAvailableException; |
|
| 30 | 21 | |
| 31 | 22 | class Container implements ContainerInterface |
| 32 | 23 | { |