PHP Class Blast\Orm\Query\Events\QueryResultEvent

Inheritance: extends AbstractQueryEvent
Show file Open project: phpthinktank/blast-orm

Public Methods

Method Description
__construct ( string $name, boolean | array $result ) ResultEvent constructor.
getName ( ) : string Return event name
getResult ( ) : array | boolean
setResult ( array | boolean $result )

Method Details

__construct() public method

ResultEvent constructor.
public __construct ( string $name, boolean | array $result )
$name string
$result boolean | array

getName() public method

Return event name
public getName ( ) : string
return string

getResult() public method

public getResult ( ) : array | boolean
return array | boolean

setResult() public method

public setResult ( array | boolean $result )
$result array | boolean