eee
This commit is contained in:
@@ -66,6 +66,16 @@ trait TraitServer
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @return Process|null
|
||||
*/
|
||||
public function getProcess(string $name): ?Process
|
||||
{
|
||||
return $this->_process[$name] ?? null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return void
|
||||
* @throws
|
||||
@@ -116,7 +126,7 @@ trait TraitServer
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getProcess(): array
|
||||
public function getProcesses(): array
|
||||
{
|
||||
return $this->_process;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user