1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace JMS\SerializerBundle\Serializer\EventDispatcher;
- use JMS\SerializerBundle\Serializer\VisitorInterface;
- use JMS\SerializerBundle\Metadata\ClassMetadata;
- class Event
- {
- protected $type;
- private $object;
- private $visitor;
- public function __construct(VisitorInterface $visitor, $object, array $type)
- {
- $this->visitor = $visitor;
- $this->object = $object;
- $this->type = $type;
- }
- public function getVisitor()
- {
- return $this->visitor;
- }
- public function getType()
- {
- return $this->type;
- }
- public function getObject()
- {
- return $this->object;
- }
- }
|