PHP Trait Vent\VentTrait

Show file Open project: leedavis81/vent

Public Methods

Method Description
__get ( $name ) : mixed Handle read request
__set ( $name, $value ) : mixed Handle a write request
__unset ( $name )

Private Methods

Method Description
registerEvent ( string $event, string | array $variables, Closure $action, array | null $params = null, boolean $retainResponse = false ) Register an event to be triggered

Method Details

__get() public method

Handle read request
public __get ( $name ) : mixed
$name
return mixed

__set() public method

Handle a write request
public __set ( $name, $value ) : mixed
$name
$value
return mixed

__unset() public method

public __unset ( $name )