vendor/api-platform/core/src/Core/EventListener/WriteListener.php
line 50
Open in your IDE?