function drush_outputformat_php::format

8.0.x php.inc drush_outputformat_php::format($input, $metadata)
6.x php.inc drush_outputformat_php::format($input, $metadata)
7.x php.inc drush_outputformat_php::format($input, $metadata)
master php.inc drush_outputformat_php::format($input, $metadata)

Overrides drush_outputformat::format

File

commands/core/outputformat/php.inc, line 14

Class

drush_outputformat_php
Output formatter 'php'

Code

function format($input, $metadata) {
  return serialize($input);
}