public function getRecentWhere($column, $value, array $options = [])
    {
        $query = $this->createBaseBuilder($options);

        $query->where($column, $value);

        $query->orderBy($this->getCreatedAtColumn(), 'DESC');

        return $query->get();
    }
public function getRecentWhere($column, $value, array $options = [])
    {
        $query = $this->createBaseBuilder($options);

        $query->where($column, $value);

        $query->orderBy($this->getCreatedAtColumn(), 'DESC');

        return $query->get();
    }
public function getRecentWhere ( $ column , $ value , array $ options = [ ] ) { $ query = $ this -> createBaseBuilder ( $ options ) ; $ query -> where ( $ column , $ value ) ; $ query -> orderBy ( $ this -> getCreatedAtColumn ( ) , 'DESC' ) ; return $ query -> get ( ) ; }
Get all resources by a where clause ordered by recentness
@param  string $column
@param  mixed $value
@param  array  $options
@return Collection
Get all resources by a where clause ordered by recentness