for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\ArticleBundle\Elasticsearch;
use ONGR\ElasticsearchBundle\Service\Manager;
use Symfony\Component\EventDispatcher\Event;
/**
* Event args for "es.post_convert_to_document".
class PostConvertToDocumentEvent extends Event
{
* @var array
private $rawData;
* @var object
private $document;
* @var Manager
private $manager;
public function __construct(array $rawData, $document, Manager $manager)
$this->rawData = $rawData;
$this->document = $document;
$this->manager = $manager;
}
* Returns rawData.
* @return array
public function getRawData()
return $this->rawData;
* Returns document.
* @return object
public function getDocument()
return $this->document;
* Returns manager.
* @return Manager
public function getManager()
return $this->manager;