File: /home/posscale/subdomains/xibo/lib/Event/DisplayProfileLoadedEvent.php
<?php
/*
* Spring Signage Ltd - http://www.springsignage.com
* Copyright (C) 2017 Spring Signage Ltd
* (DisplayProfileLoadedEvent.php)
*/
namespace Xibo\Event;
use Symfony\Component\EventDispatcher\Event;
use Xibo\Entity\DisplayProfile;
/**
* Class DisplayProfileLoadedEvent
* @package Xibo\Event
*/
class DisplayProfileLoadedEvent extends Event
{
const NAME = 'displayProfile.load';
/** @var DisplayProfile */
protected $displayProfile;
/**
* DisplayProfileLoadedEvent constructor.
* @param $displayProfile
*/
public function __construct($displayProfile)
{
$this->displayProfile = $displayProfile;
}
/**
* @return DisplayProfile
*/
public function getDisplayProfile()
{
return $this->displayProfile;
}
}