public function getCommand()
    {
        $path    = $this->getPath();
        $options = $this->getOptions();

        $this->validateExecutable($path);

        if ($this->cache) {
            array_push($options, '--disk-cache=true');
        }

        if ($this->debug) {
            array_push($options, '--debug=true');
        }

        return sprintf('%s %s', $path, implode(' ', $options));
    }
public function getCommand()
    {
        $path    = $this->getPath();
        $options = $this->getOptions();

        $this->validateExecutable($path);

        if ($this->cache) {
            array_push($options, '--disk-cache=true');
        }

        if ($this->debug) {
            array_push($options, '--debug=true');
        }

        return sprintf('%s %s', $path, implode(' ', $options));
    }
public function getCommand ( ) { $ path = $ this -> getPath ( ) ; $ options = $ this -> getOptions ( ) ; $ this -> validateExecutable ( $ path ) ; if ( $ this -> cache ) { array_push ( $ options , '--disk-cache=true' ) ; } if ( $ this -> debug ) { array_push ( $ options , '--debug=true' ) ; } return sprintf ( '%s %s' , $ path , implode ( ' ' , $ options ) ) ; }
Get PhantomJs run command with
loader run options.

@access public
@return string
Get PhantomJs run command with loader run options .