protected function composeCommand($args): string
    {
        $command = $this->getBinary();

        if (\is_array($args)) {
            $args = implode(' ', $args);
        }

        // Only append args if we have some
        $command .= $args !== '' ? ' ' . $args : '';

        return $command;
    }
protected function composeCommand($args): string
    {
        $command = $this->getBinary();

        if (\is_array($args)) {
            $args = implode(' ', $args);
        }

        // Only append args if we have some
        $command .= $args !== '' ? ' ' . $args : '';

        return $command;
    }
protected function composeCommand ( $ args ) : string { $ command = $ this -> getBinary ( ) ; if ( \ is_array ( $ args ) ) { $ args = implode ( ' ' , $ args ) ; } // Only append args if we have some $ command .= $ args !== '' ? ' ' . $ args : '' ; return $ command ; }
Compose shell command line

@param string|string[]|null $args Ispell arguments.

@return string

@since 1.6
Compose shell command line