diff -r d2fba1e3b94b -r 21fab44f46fe Event/DocumentTagEvent.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Event/DocumentTagEvent.php Thu Nov 17 11:29:26 2011 +0100 @@ -0,0 +1,28 @@ + + * + * 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; + } +} \ No newline at end of file