You don't need to define variable `$identifiers`. Just pass the result to `$eventManager->setIdentifiers()`