Common/Listener/AbstractNotifyListener.php
protected function notify($type, $resource)
    {
        // Create
        $notify = $this->builder->create($type, $resource);

        // Build
        if (!$this->builder->build($notify)) {
            return;
        }

        // Enqueue
        $this->queue->add($notify);
    }
protected function notify($type, $resource)
    {
        // Create
        $notify = $this->builder->create($type, $resource);

        // Build
        if (!$this->builder->build($notify)) {
            return;
        }

        // Enqueue
        $this->queue->add($notify);
    }
protected function notify ( $ type , $ resource ) { // Create $ notify = $ this -> builder -> create ( $ type , $ resource ) ; // Build if ( ! $ this -> builder -> build ( $ notify ) ) { return ; } // Enqueue $ this -> queue -> add ( $ notify ) ; }
Creates, build and enqueue a notify instance.

@param string $type
@param object $resource
Creates build and enqueue a notify instance .