\Ceo\Core\BehaviorsPushable

Pushable Behavior has been deprecated since 0.1.4. Please use Ceo\Core\Traits\Pushable

Pushable models are pushed to the websocket server. Models which implement the pushable behavior can define related items to furnish with the push. $this->addBehavior('new Pushable([ 'category' => 'contentupdate' 'related' => [ 'export', 'authors', 'tags', 'assignment', 'attachment', 'audit' ] ]));

Summary

Methods
Properties
Constants
__construct()
notify()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$options
N/A

Properties

$options

$options : 

Type

Methods

__construct()

__construct(array  $options = array()) 

Parameters

array $options

notify()

notify(object  $eventType, \Phalcon\Mvc\ModelInterface  $model) 

Push model to websocket queue

Parameters

object $eventType
\Phalcon\Mvc\ModelInterface $model