public static function create($repoConfig, $port, $path, ProcessExecutor $process, IOInterface $io)
    {
        $isWindows = \defined('PHP_WINDOWS_VERSION_BUILD');

        return new self($repoConfig, $port, $path, $process, $isWindows, $io);
    }
public static function create($repoConfig, $port, $path, ProcessExecutor $process, IOInterface $io)
    {
        $isWindows = \defined('PHP_WINDOWS_VERSION_BUILD');

        return new self($repoConfig, $port, $path, $process, $isWindows, $io);
    }
public static function create ( $ repoConfig , $ port , $ path , ProcessExecutor $ process , IOInterface $ io ) { $ isWindows = \ defined ( 'PHP_WINDOWS_VERSION_BUILD' ) ; return new self ( $ repoConfig , $ port , $ path , $ process , $ isWindows , $ io ) ; }
Create perforce helper.

@param array           $repoConfig
@param int|string      $port
@param string          $path
@param ProcessExecutor $process
@param IOInterface     $io

@return Perforce
Create perforce helper .