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
Kraken
Stream
StreamSeeker
throwAndEmitException
Kraken\Stream\StreamSeeker::throwAndEmitException PHP Method
StreamSeeker Class Documentation
Show file
Open project: kraken-php/framework
throwAndEmitException()
protected
method
Emit error event and the throws it too.
protected
throwAndEmitException
(
Erro\Error | Exceptio\Exception
$ex
) :
null
$ex
Erro\Error | Exceptio\Exception
return
null
protected function throwAndEmitException($ex) { $this->emit('error', [$this, $ex]); throw $ex; }
StreamSeeker
__construct
__destruct
close
getMetadata
getResource
getResourceId
getStreamType
getWrapperType
handleClose
isOpen
isSeekable
rewind
seek
tell
throwAndEmitException