0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
shimoda
/
lib
/
Event
/
[
Home
]
File: LayoutBuildEvent.php
<?php /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2016 Spring Signage Ltd * (LayoutBuildEvent.php) */ namespace Xibo\Event; use Symfony\Component\EventDispatcher\Event; use Xibo\Entity\Layout; /** * Class LayoutBuildEvent * @package Xibo\Event */ class LayoutBuildEvent extends Event { const NAME = 'layout.build'; /** @var Layout */ protected $layout; /** @var \DOMDocument */ protected $document; /** * LayoutBuildEvent constructor. * @param $layout * @param $document */ public function __construct($layout, $document) { $this->layout = $layout; $this->document = $document; } /** * @return \DOMDocument */ public function getDocument() { return $this->document; } }