Common/Notify/NotifyBuilder.php
public function build(Notify $notify)
    {
        $event = new NotifyEvent($notify);

        $this->eventDispatcher->dispatch(NotifyEvents::BUILD, $event);

        return !$event->isAbort();
    }
public function build(Notify $notify)
    {
        $event = new NotifyEvent($notify);

        $this->eventDispatcher->dispatch(NotifyEvents::BUILD, $event);

        return !$event->isAbort();
    }
Builds the notify.

@param \Ekyna\Component\Commerce\Common\Model\Notify $notify

@return bool Whether the notify has been successfully built.