class Caster (View source)

Caster class for VarDumper casters for the shell.

Methods

static 
castContentEntity($entity, $array, $stub, $isNested)

Casts \Drupal\Core\Entity\ContentEntityInterface classes.

static 
castFieldItemList($list_item, $array, $stub, $isNested)

Casts \Drupal\Core\Field\FieldItemListInterface classes.

static 
castFieldItem($item, $array, $stub, $isNested)

Casts \Drupal\Core\Field\FieldItemInterface classes.

static 
castConfigEntity($entity, $array, $stub, $isNested)

Casts \Drupal\Core\Config\Entity\ConfigEntityInterface classes.

static 
castConfig($config, $array, $stub, $isNested)

Casts \Drupal\Core\Config\ConfigBase classes.

static 
castContainer($container, $array, $stub, $isNested)

Casts \Drupal\Component\DependencyInjection\Container classes.

static 
castMarkup($markup, $array, $stub, $isNested)

Casts \Drupal\Component\Render\MarkupInterface classes.

Details

static castContentEntity($entity, $array, $stub, $isNested)

Casts \Drupal\Core\Entity\ContentEntityInterface classes.

Parameters

$entity
$array
$stub
$isNested

static castFieldItemList($list_item, $array, $stub, $isNested)

Casts \Drupal\Core\Field\FieldItemListInterface classes.

Parameters

$list_item
$array
$stub
$isNested

static castFieldItem($item, $array, $stub, $isNested)

Casts \Drupal\Core\Field\FieldItemInterface classes.

Parameters

$item
$array
$stub
$isNested

static castConfigEntity($entity, $array, $stub, $isNested)

Casts \Drupal\Core\Config\Entity\ConfigEntityInterface classes.

Parameters

$entity
$array
$stub
$isNested

static castConfig($config, $array, $stub, $isNested)

Casts \Drupal\Core\Config\ConfigBase classes.

Parameters

$config
$array
$stub
$isNested

static castContainer($container, $array, $stub, $isNested)

Casts \Drupal\Component\DependencyInjection\Container classes.

Parameters

$container
$array
$stub
$isNested

static castMarkup($markup, $array, $stub, $isNested)

Casts \Drupal\Component\Render\MarkupInterface classes.

Parameters

$markup
$array
$stub
$isNested