public static function searchByOwner($identification) { $query = "select * from Recipients where ownerIdentification = '" . $identification . "'"; return Recipient::query($query)->fetchAll(PDO::FETCH_CLASS, 'Recipient'); }