public function getDataFromResource($data, $object = null, $params = []) { if (strlen($data)) { return explode(",", $data); } else { return null; } }