\serviceHookService

Summary

Methods
Properties
Constants
resultListen()
afterListen()
beforeListen()
listen()
addBefore()
addAfter()
add()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

resultListen()

resultListen(  $tag,   $params, null  $extra = null, boolean  $once = false,   $behavior = null) : mixed

监听有返回结果的行为

Parameters

$tag
$params
null $extra
boolean $once
$behavior

Returns

mixed

afterListen()

afterListen(  $tag,   $params, null  $extra = null,   $once = false,   $behavior = null) 

监听后置行为

Parameters

$tag
$params
null $extra
$once
$behavior

beforeListen()

beforeListen(  $tag,   $params,   $extra = null,   $once = false,   $behavior = null) 

Parameters

$tag
$params
$extra
$once
$behavior

listen()

listen(  $tag,   $params, null  $extra = null, boolean  $once = false,   $behavior = null) : mixed

监听行为

Parameters

$tag
$params
null $extra
boolean $once
$behavior

Returns

mixed

addBefore()

addBefore(  $tag,   $behavior, boolean  $first = false) 

添加前置行为

Parameters

$tag
$behavior
boolean $first

addAfter()

addAfter(  $tag,   $behavior, boolean  $first = false) 

添加后置行为

Parameters

$tag
$behavior
boolean $first

add()

add(  $tag,   $behavior, boolean  $first = false) 

添加行为

Parameters

$tag
$behavior
boolean $first