Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Laravel
Envoy
TaskContainer
share
Laravel\Envoy\TaskContainer::share PHP Method
TaskContainer Class Documentation
Show file
Open project: laravel/envoy
share()
public
method
Share the given piece of data across all tasks.
public
share
(
string
$key
,
mixed
$value
) :
void
$key
string
$value
mixed
return
void
public function share($key, $value) { $this->sharedData[$key] = $value; }
TaskContainer
after
endMacro
endTask
error
finished
getAfterCallbacks
getErrorCallbacks
getFinishedCallbacks
getFirstServer
getMacro
getMacroOptions
getMacros
getServer
getServers
getTask
getTaskOptions
getTasks
hasOneServer
import
load
loadServers
mergeDefaultOptions
replaceSubTasks
resolveImportPath
servers
share
startMacro
startTask
trimSpaces
writeCompiledEnvoyFile