Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
vendor
/
vich
/
uploader-bundle
/
Event
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/vendor/vich/uploader-bundle/Event/Event.php
<?php namespace Vich\UploaderBundle\Event; use Symfony\Component\EventDispatcher\Event as BaseEvent; use Vich\UploaderBundle\Mapping\PropertyMapping; /** * Base class for upload events. * * @author Kévin Gomez <contact@kevingomez.fr> */ class Event extends BaseEvent { protected $object; protected $mapping; public function __construct($object, PropertyMapping $mapping) { $this->object = $object; $this->mapping = $mapping; } /** * Accessor to the object being manipulated. * * @return object */ public function getObject() { return $this->object; } /** * Accessor to the mapping used to manipulate the object. * * @return PropertyMapping */ public function getMapping(): PropertyMapping { return $this->mapping; } }