/** * @param ContainerInterface $container */ protected function register(ContainerInterface $container) { $isolate = $container->getType() === Runtime::UNIT_PROCESS ? new Isolate() : null; $system = new SystemUnix($isolate); $container->instance('Kraken\\Util\\System\\SystemInterface', $system); }