src/SGH/PdfBox/Command.php
protected function getUserOptions()
    {
        $options = array();
        if ($this->_options->getSort()) {
            $options[] = '-sort';
        }
        if ($this->_options->getIgnoreBeads()) {
            $options[] = '-ignoreBeads';
        }
        if ($this->_options->getForce()) {
            $options[] = '-force';
        }
        if ($this->_options->getStartPage() > 1) {
            $options[] = '-startPage ' . $this->_options->getStartPage();
        }
        if ($this->_options->getEndPage() < PHP_INT_MAX) {
            $options[] = '-endPage ' . $this->_options->getEndPage();
        }
        return join(' ', $options);
    }
protected function getUserOptions()
    {
        $options = array();
        if ($this->_options->getSort()) {
            $options[] = '-sort';
        }
        if ($this->_options->getIgnoreBeads()) {
            $options[] = '-ignoreBeads';
        }
        if ($this->_options->getForce()) {
            $options[] = '-force';
        }
        if ($this->_options->getStartPage() > 1) {
            $options[] = '-startPage ' . $this->_options->getStartPage();
        }
        if ($this->_options->getEndPage() < PHP_INT_MAX) {
            $options[] = '-endPage ' . $this->_options->getEndPage();
        }
        return join(' ', $options);
    }
Return array of command line options based on $_options configuration object

@return string[]