Locker\Repository\Report\EloquentRepository::statements PHP Method

statements() public method

Gets the statements selected by the report with the given ID and options.
public statements ( String $id, array $opts ) : [[String
$id String ID to match.
$opts array
return [[String
    public function statements($id, array $opts)
    {
        $report = $this->show($id, $opts);
        return (new QueryRepository())->where($report->lrs_id, Helpers::replaceHtmlEntity($report->where))->orderBy('stored', 'DESC');
    }