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