original_string: protected function newSerializer(ResourceConfiguration $config)
      {
          return new JMSSerializer(
              SerializerBuilder::create()->build(),
              new SerializationContext,
              new JMSPropertyExcluder($config->getExcludedProperties())
          );
      }
code: protected function newSerializer(ResourceConfiguration $config)
      {
          return new JMSSerializer(
              SerializerBuilder::create()->build(),
              new SerializationContext,
              new JMSPropertyExcluder($config->getExcludedProperties())
          );
      }
code_tokens: protected function newSerializer ( ResourceConfiguration $ config ) { return new JMSSerializer ( SerializerBuilder :: create ( ) -> build ( ) , new SerializationContext , new JMSPropertyExcluder ( $ config -> getExcludedProperties ( ) ) ) ; }
docstring: Creates JMSSerializer instance.
  
  @return JMSSerializer
docstring_tokens: Creates JMSSerializer instance .