PHP Trait Bravo3\Orm\Traits\PubSubTrait

Show file Open project: bravo3/orm

Protected Properties

Property Type Description
$pubsub_channel_prefix string

Public Methods

Method Description
getChannelPrefix ( ) : string Return the PubSub messaging channel prefix used in the underlying database driver.
setChannelPrefix ( string $prefix ) : RedisDriver Sets the PubSub messaging channel prefix used in the underlying database driver.

Method Details

getChannelPrefix() public method

Return the PubSub messaging channel prefix used in the underlying database driver.
public getChannelPrefix ( ) : string
return string

setChannelPrefix() public method

Sets the PubSub messaging channel prefix used in the underlying database driver.
public setChannelPrefix ( string $prefix ) : RedisDriver
$prefix string
return RedisDriver

Property Details

$pubsub_channel_prefix protected property

protected string $pubsub_channel_prefix
return string