classes/phing/types/Commandline.php
public function getCommandline(): array
    {
        $args = $this->getArguments();
        if ($this->executable !== null && $this->executable !== '') {
            array_unshift($args, $this->executable);
        }

        return $args;
    }
public function getCommandline(): array
    {
        $args = $this->getArguments();
        if ($this->executable !== null && $this->executable !== '') {
            array_unshift($args, $this->executable);
        }

        return $args;
    }
public function getCommandline ( ) : array { $ args = $ this -> getArguments ( ) ; if ( $ this -> executable !== null && $ this -> executable !== '' ) { array_unshift ( $ args , $ this -> executable ) ; } return $ args ; }
Returns the executable and all defined arguments.

@return array
Returns the executable and all defined arguments .