for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Vanvelthem Sébastien
*/
namespace Soluble\FlexStore;
use Soluble\FlexStore\Column\ColumnModel;
use Soluble\FlexStore\ResultSet\ResultSet;
use Soluble\FlexStore\Store\StoreInterface;
class FlexStore implements StoreInterface
{
*
* @var Source\SourceInterface
protected $source;
* @param Source\SourceInterface $source
public function __construct(Source\SourceInterface $source)
$this->source = $source;
}
* Return store search options
* @return Options
public function getOptions()
return $this->source->getOptions();
* {@inheritdoc}
public function getSource()
return $this->source;
* Return the underlying store data as a resultset
* @throws Exception\EmptyQueryException when query is empty
* @throws Exception\ErrorException whenever an error occured
* @param Options $options
* @return ResultSet
public function getData(Options $options = null)
return $this->source->getData($options);
public function getColumnModel()
return $this->source->getColumnModel();