protected function factoryByPlatform() { if ($this->isolator()->defined('PHP_WINDOWS_VERSION_BUILD')) { return $this->windowsFactory(); } return $this->unixFactory(); }