public function start($ip, $port, $path, $logsPath, $debug, $expectationsPath)
    {
        $phiremockPath = is_file($path) ? $path : $path . DIRECTORY_SEPARATOR . 'phiremock';
        $expectationsPath = is_dir($expectationsPath) ? $expectationsPath : '';
        $logFile = $logsPath . DIRECTORY_SEPARATOR . self::LOG_FILE_NAME;
        $this->initProcess($ip, $port, $debug, $expectationsPath, $phiremockPath, $logFile);
        $this->logPhiremockCommand($debug);
        $this->process->start();
    }
public function start($ip, $port, $path, $logsPath, $debug, $expectationsPath)
    {
        $phiremockPath = is_file($path) ? $path : $path . DIRECTORY_SEPARATOR . 'phiremock';
        $expectationsPath = is_dir($expectationsPath) ? $expectationsPath : '';
        $logFile = $logsPath . DIRECTORY_SEPARATOR . self::LOG_FILE_NAME;
        $this->initProcess($ip, $port, $debug, $expectationsPath, $phiremockPath, $logFile);
        $this->logPhiremockCommand($debug);
        $this->process->start();
    }
public function start ( $ ip , $ port , $ path , $ logsPath , $ debug , $ expectationsPath ) { $ phiremockPath = is_file ( $ path ) ? $ path : $ path . DIRECTORY_SEPARATOR . 'phiremock' ; $ expectationsPath = is_dir ( $ expectationsPath ) ? $ expectationsPath : '' ; $ logFile = $ logsPath . DIRECTORY_SEPARATOR . self :: LOG_FILE_NAME ; $ this -> initProcess ( $ ip , $ port , $ debug , $ expectationsPath , $ phiremockPath , $ logFile ) ; $ this -> logPhiremockCommand ( $ debug ) ; $ this -> process -> start ( ) ; }
Starts Phiremock.

@param string $ip
@param int    $port
@param string $path
@param string $logsPath
@param bool   $debug
@param mixed  $expectationsPath
Starts Phiremock .