protected function getProcess(string $style, LoggerInterface $logger): ProcessInterface
    {
        switch ($style) {
            case self::LINUX_STYLE:
                $process = new Linux\LinuxProcess($logger);
                break;
            default:
                $msg = "System style '" . $style . "' is not supported";
                throw new UnsupportedSystemException($msg);
        }

        return $process;
    }
protected function getProcess(string $style, LoggerInterface $logger): ProcessInterface
    {
        switch ($style) {
            case self::LINUX_STYLE:
                $process = new Linux\LinuxProcess($logger);
                break;
            default:
                $msg = "System style '" . $style . "' is not supported";
                throw new UnsupportedSystemException($msg);
        }

        return $process;
    }
protected function getProcess ( string $ style , LoggerInterface $ logger ) : ProcessInterface { switch ( $ style ) { case self :: LINUX_STYLE : $ process = new Linux \ LinuxProcess ( $ logger ) ; break ; default : $ msg = "System style '" . $ style . "' is not supported" ; throw new UnsupportedSystemException ( $ msg ) ; } return $ process ; }
Create "internal styled" process.

@param string          $style
@param LoggerInterface $logger

@throws UnsupportedSystemException
Create internal styled process .