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