1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\EventDispatcher;
6
7use JMS\Serializer\Context;
8
9class ObjectEvent extends Event
10{
11    /**
12     * @var mixed
13     */
14    private $object;
15
16    /**
17     * @param mixed $object
18     */
19    public function __construct(Context $context, $object, array $type)
20    {
21        parent::__construct($context, $type);
22
23        $this->object = $object;
24    }
25
26    /**
27     * @return mixed
28     */
29    public function getObject()
30    {
31        return $this->object;
32    }
33}
34