<?php

namespace App\Message;

use App\Entity\Campaign\Report;

class ReportGeneratedMessage
{
    /**
     * @var Report
     */
    private $report;
    /**
     * @var string
     */
    private $path;

    /**
     * ReportGeneratedMessage constructor.
     *
     * @param Report $report
     * @param string $path
     */
    public function __construct(Report $report, string $path)
    {
        $this->report = $report;
        $this->path = $path;
    }

    /**
     * @return Report
     */
    public function getReport(): Report
    {
        return $this->report;
    }

    /**
     * @return string
     */
    public function getPath(): string
    {
        return $this->path;
    }
}
