vendor/api-platform/core/src/Symfony/EventListener/SerializeListener.php
line 48
Open in your IDE?