Queryable
Adds data fetching methods to Model classes.
Table of Contents
- getResultSetClass() : string
- Returns the ResultSet class in use.
- objects() : ResultSet
Methods
getResultSetClass()
Returns the ResultSet class in use.
public
static getResultSetClass() : string
A model can define its own ResultSet class by setting the following constant:
public const RESULT_SET_CLASS = SomeCustomResultSetClass::class;
Defaults to PostsResultSet::class.
Tags
Return values
string —objects()
public
static objects() : ResultSet