<?php
namespace Plesk\Wappspector;
use DI\Container;
use DI\ContainerBuilder;
use Exception;
class DIContainer
{
/**
* @throws Exception
*/
public static function build(): Container
{
$containerBuilder = new ContainerBuilder();
$containerBuilder->addDefinitions(__DIR__ . '/container.php');
return $containerBuilder->build();
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Command | Folder | 0755 |
|
|
| Helper | Folder | 0755 |
|
|
| MatchResult | Folder | 0755 |
|
|
| Matchers | Folder | 0755 |
|
|
| DIContainer.php | File | 384 B | 0644 |
|
| FileSystemFactory.php | File | 364 B | 0644 |
|
| Wappspector.php | File | 1.01 KB | 0644 |
|
| container.php | File | 1.83 KB | 0644 |
|