Files
CloudOps/docker-compose/mautic-setup/mautic-backup-files/docroot/app/bundles/LeadBundle/Model/ChannelTimelineInterface.php

46 lines
1.0 KiB
PHP
Executable File

<?php
namespace Mautic\LeadBundle\Model;
/**
* Interface ChannelTimelineInterface.
*/
interface ChannelTimelineInterface
{
/**
* Return the name of a template to use to customize the channel's timeline entry.
*
* Return an empty value to ignore
*
* @param string $eventType
* @param array $details
*
* @return mixed
*/
public function getChannelTimelineTemplate($eventType, $details);
/**
* Override the timeline name for this channel's timeline entry.
*
* Return an empty value to ignore
*
* @param string $eventType
* @param array $details
*
* @return mixed
*/
public function getChannelTimelineLabel($eventType, $details);
/**
* Override the icon for this channel's timeline entry.
*
* Return an empty value to ignore
*
* @param string $eventType
* @param array $details
*
* @return mixed
*/
public function getChannelTimelineIcon($eventType, $details);
}