function _drush_core_cli_get_casters

8.0.x cli.drush.inc _drush_core_cli_get_casters()
master cli.drush.inc _drush_core_cli_get_casters()

Returns a mapped array of casters for use in the shell.

These are Symfony VarDumper casters. See http://symfony.com/doc/current/components/var_dumper/advanced.html#casters for more information.

Return value

array. An array of caster callbacks keyed by class or interface.

1 call to _drush_core_cli_get_casters()
drush_cli_core_cli in commands/core/cli.drush.inc
Command callback.

File

commands/core/cli.drush.inc, line 126

Code

function _drush_core_cli_get_casters() {
  return ['Drupal\Core\Entity\ContentEntityInterface' 'Drush\Psysh\Caster::castContentEntity' 'Drupal\Core\Field\FieldItemListInterface' 'Drush\Psysh\Caster::castFieldItemList' 'Drupal\Core\Field\FieldItemInterface' 'Drush\Psysh\Caster::castFieldItem' 'Drupal\Core\Config\Entity\ConfigEntityInterface' 'Drush\Psysh\Caster::castConfigEntity' 'Drupal\Core\Config\ConfigBase' 'Drush\Psysh\Caster::castConfig'];
}