mautic / app /bundles /LeadBundle /Model /ChannelTimelineInterface.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
<?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);
}