classes/phing/tasks/ext/apigen/ApiGenTask.php
protected function constructArguments()
    {
        $args = [];
        foreach ($this->options as $option => $value) {
            if (is_bool($value)) {
                $args[] = '--' . $option . '=' . ($value ? 'yes' : 'no');
            } elseif (is_array($value)) {
                foreach ($value as $v) {
                    $args[] = '--' . $option . '=' . escapeshellarg($v);
                }
            } else {
                $args[] = '--' . $option . '=' . escapeshellarg($value);
            }
        }

        return implode(' ', $args);
    }
protected function constructArguments()
    {
        $args = [];
        foreach ($this->options as $option => $value) {
            if (is_bool($value)) {
                $args[] = '--' . $option . '=' . ($value ? 'yes' : 'no');
            } elseif (is_array($value)) {
                foreach ($value as $v) {
                    $args[] = '--' . $option . '=' . escapeshellarg($v);
                }
            } else {
                $args[] = '--' . $option . '=' . escapeshellarg($value);
            }
        }

        return implode(' ', $args);
    }
protected function constructArguments ( ) { $ args = [ ] ; foreach ( $ this -> options as $ option => $ value ) { if ( is_bool ( $ value ) ) { $ args [ ] = '--' . $ option . '=' . ( $ value ? 'yes' : 'no' ) ; } elseif ( is_array ( $ value ) ) { foreach ( $ value as $ v ) { $ args [ ] = '--' . $ option . '=' . escapeshellarg ( $ v ) ; } } else { $ args [ ] = '--' . $ option . '=' . escapeshellarg ( $ value ) ; } } return implode ( ' ' , $ args ) ; }
Generates command line arguments for the ApiGen executable.

@return string
Generates command line arguments for the ApiGen executable .