add new Symfony factory syntax support