src/WatcherPlugin.php
public function joinCommand(array $parts)
    {
        $command = 'php ' . implode(' ', $parts);
        $stripped = str_replace('--watch', '', $command);
        return trim($stripped);
    }
public function joinCommand(array $parts)
    {
        $command = 'php ' . implode(' ', $parts);
        $stripped = str_replace('--watch', '', $command);
        return trim($stripped);
    }
Join an array of arg parts into a command.

@param array $parts
@return string