PHP Class Ipunkt\LaravelAnalytics\Data\Renderer\CampaignRenderer

Inheritance: implements Ipunkt\LaravelAnalytics\Data\Renderer\Renderer
Mostrar archivo Open project: ipunkt/laravel-analytics

Public Methods

Method Description
__construct ( Campaign $campaign ) CampaignRenderer constructor.
render ( ) : string Renders data

Private Methods

Method Description
renderContent ( ) : string returns the rendered content
renderId ( ) : string returns the rendered id
renderKeyword ( ) : string returns the rendered keyword
renderMedium ( ) : string returns the rendered medium
renderName ( ) : string returns the rendered name
renderSource ( ) : string returns the rendered source

Method Details

__construct() public method

CampaignRenderer constructor.
public __construct ( Campaign $campaign )
$campaign Ipunkt\LaravelAnalytics\Data\Campaign

render() public method

Renders data
public render ( ) : string
return string