Update SocializerInterface.php

add missing method