An error occurred while loading the file. Please try again.
-
Gaetano Raffaele authoredcff71fc4
<?php
/*
* Copyright (C) 2015 IRSTEA
* All rights reserved.
*/
namespace Irstea\FileUploadBundle\Event;
use Irstea\FileUploadBundle\Model\UploadedFileInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* Description of FileUploadCompleteEvent
*
* @author Guillaume Perréal <guillaume.perreal@irstea.fr>
*/
class FileUploadCompleteEvent extends Event
{
/**
*
* @var UploadedFileInterface
*/
private $uploadedFile;
/**
*
* @param UploadedFileInterface $uploadedFile
*/
public function __construct(UploadedFileInterface $uploadedFile)
{
$this->uploadedFile = $uploadedFile;
}
/**
*
* @return UploadedFileInterface $uploadedFile
*/
public function getUploadedFile()
{
return $this->uploadedFile;
}
}