src/AbstractRepository.php
public function findByCriteria(CriteriaInterface $criteria)
	{
		$this->resetCriteria();
		$this->pushCriteria($criteria);

		return $this->fetchSingle($this->newQuery());
	}
public function findByCriteria(CriteriaInterface $criteria)
	{
		$this->resetCriteria();
		$this->pushCriteria($criteria);

		return $this->fetchSingle($this->newQuery());
	}
Get a specific row by criteria.

@param  \anlutro\LaravelRepository\CriteriaInterface $criteria

@return mixed