public function ProcessBuilder::setPrefix in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/ProcessBuilder.php \Symfony\Component\Process\ProcessBuilder::setPrefix()
Adds a prefix to the command string.
The prefix is preserved when resetting arguments.
Parameters
string|array $prefix A command prefix or an array of command prefixes:
Return value
File
- vendor/
symfony/ process/ ProcessBuilder.php, line 79
Class
- ProcessBuilder
- Process builder.
Namespace
Symfony\Component\ProcessCode
public function setPrefix($prefix) {
$this->prefix = is_array($prefix) ? $prefix : array(
$prefix,
);
return $this;
}