BackedEnumValue.php
Same filename and directory in other branches
Namespace
Drupal\Tests\Component\SerializationFile
-
core/
tests/ Drupal/ Tests/ Component/ Serialization/ BackedEnumValue.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\Component\Serialization;
/**
* Represents options for a boolean-like value.
*/
enum BackedEnumValue : string
{
case Yes = 'yes';
case No = 'no';
case Maybe = 'maybe';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.