FOSElasticaBundle/HybridResult.php

28 lines
452 B
PHP
Raw Normal View History

2012-02-23 23:50:46 +01:00
<?php
namespace FOS\ElasticaBundle;
2012-02-23 23:50:46 +01:00
use Elastica\Result;
2012-02-23 23:50:46 +01:00
class HybridResult
{
protected $result;
protected $transformed;
public function __construct(Result $result, $transformed = null)
2012-02-23 23:50:46 +01:00
{
$this->result = $result;
$this->transformed = $transformed;
}
public function getTransformed()
{
return $this->transformed;
}
public function getResult()
{
return $this->result;
}
2015-03-12 11:20:00 +01:00
}