Event/DocumentTagEvent.php
author cavaliet
Mon, 03 Feb 2014 12:28:21 +0100
changeset 118 e9c1a6f4b83e
parent 34 21fab44f46fe
permissions -rwxr-xr-x
enhance migration for dbpedia uri

<?php
/*
 * This file is part of the WikiTagBundle package.
 *
 * (c) IRI <http://www.iri.centrepompidou.fr/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace IRI\Bundle\WikiTagBundle\Event;

use Symfony\Component\EventDispatcher\Event;
use IRI\Bundle\WikiTagBundle\Model\DocumentInterface;

class DocumentTagEvent extends Event
{
    protected $document;

    public function __construct(DocumentInterface $doc)
    {
        $this->document = $doc;
    }

    public function getDocument()
    {
        return $this->document;
    }
}