NextDom\Helpers\DBHelper::getAllObjects
Get objects from database
Signature
public function getAllObjects(string
$query,
array
$params,
string
$objectClassName )
Parameters
$query
— string- SQL query
$params
— array- Query params
$objectClassName
— string- Class of object
Returns
- mixed|null
- Array of instances of the class