defaultFormatters() protected method

protected defaultFormatters ( ) : array
return array the formatters that are supported by default
Example #1
0
 /**
  * Adds the Thrift formatter to the default formatters.
  * @return array the formatters that are supported by default
  */
 protected function defaultFormatters()
 {
     return array_merge(parent::defaultFormatters(), ['thrift' => 'RangelReale\\nithrift\\ResponseFormatter']);
 }