Documentation

ScriptExecutor
in package

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

$composer  : mixed
$executor  : mixed
$io  : mixed
$options  : mixed
__construct()  : mixed
execute()  : mixed
expandCmd()  : mixed
expandPhpScript()  : string
expandSymfonyCmd()  : mixed

Properties

Methods

__construct()

public __construct(Composer $composer, IOInterface $io, Options $options[, ProcessExecutor $executor = null ]) : mixed
Parameters
$composer : Composer
$io : IOInterface
$options : Options
$executor : ProcessExecutor = null
Return values
mixed

execute()

public execute(string $type, string $cmd[, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
$type : string
$cmd : string
$arguments : array<string|int, mixed> = []
Tags
throws
ScriptExecutionException

if the executed command returns a non-0 exit code

Return values
mixed

expandCmd()

private expandCmd(string $type, string $cmd, array<string|int, mixed> $arguments) : mixed
Parameters
$type : string
$cmd : string
$arguments : array<string|int, mixed>
Return values
mixed

expandPhpScript()

private expandPhpScript(string $cmd, array<string|int, mixed> $scriptArguments) : string
Parameters
$cmd : string
$scriptArguments : array<string|int, mixed>
Return values
string

expandSymfonyCmd()

private expandSymfonyCmd(string $cmd, array<string|int, mixed> $arguments) : mixed
Parameters
$cmd : string
$arguments : array<string|int, mixed>
Return values
mixed

Search results