<?php

namespace Blazemedia\Affiliation\Rendering\LinkParser;

/**
 * definisce la struttura di un link 
 */
class Link {
    

    public $tag;         // markup HTML che contiene il link
    public $url;         
    public $marketplace; // amazon, ebay,  etc.

    public function __construct( $tag, $url, $marketplace ) { 

        $this->tag         = $tag;
        $this->url         = $url;
        $this->marketplace = $marketplace;
    }
}
