FOSElasticaBundle/HybridResult.php
2012-02-24 09:50:46 +11:00

27 lines
460 B
PHP

<?php
namespace FOQ\ElasticaBundle;
use Elastica_Result;
class HybridResult
{
protected $result;
protected $transformed;
public function __construct(Elastica_Result $result, $transformed = null)
{
$this->result = $result;
$this->transformed = $transformed;
}
public function getTransformed()
{
return $this->transformed;
}
public function getResult()
{
return $this->result;
}
}