dothiv/DothivContentfulBundle

View on GitHub
Event/ContentfulViewEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Dothiv\Bundle\ContentfulBundle\Event;

use Symfony\Component\EventDispatcher\Event;

class ContentfulViewEvent extends Event
{
    /**
     * @var \stdClass
     */
    private $view;

    public function __construct(\stdClass $view)
    {
        $this->view = $view;
    }

    /**
     * @return \stdClass
     */
    public function getView()
    {
        return $this->view;
    }

    /**
     * @param \stdClass $view
     */
    public function setView(\stdClass $view)
    {
        $this->view = $view;
    }
}