Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PHPDaemon
Core
ShellCommand
onEOF
PHPDaemon\Core\ShellCommand::onEOF PHP Method
ShellCommand Class Documentation
显示文件
Open project: kakserpom/phpdaemon
onEOF()
public
method
Sets callback which will be called once when got EOF
public
onEOF
(
callable
$cb
= null ) :
this
$cb
callable
return
this
public function onEOF($cb = null) { return $this->bind('eof', $cb); }
ShellCommand
buildArgs
close
closeWrite
eof
exec
execute
finishWrite
getCmd
getStatus
nice
onEOF
onEofEvent
onFinish
onRead
setArgs
setChroot
setCwd
setEnv
setFd
setGroup
setUser
write
writeln