ListNormalizer::$supportedInterfaceOrClass

Type: supportedInterfaceOrClass

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/ListNormalizer.php, line 21

Class

ListNormalizer
Converts list objects to arrays.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = ListInterface::class;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.